diff options
Diffstat (limited to 'src/skadns')
-rw-r--r-- | src/skadns/skadns_startf.c | 1 | ||||
-rw-r--r-- | src/skadns/skadnsd.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/skadns/skadns_startf.c b/src/skadns/skadns_startf.c index bf20edd..e9fadd3 100644 --- a/src/skadns/skadns_startf.c +++ b/src/skadns/skadns_startf.c @@ -2,6 +2,7 @@ #include <skalibs/posixplz.h> #include <skalibs/textclient.h> + #include <s6-dns/skadns.h> int skadns_startf (skadns_t *a, tain const *deadline, tain *stamp) diff --git a/src/skadns/skadnsd.c b/src/skadns/skadnsd.c index 8714d2b..0909dfa 100644 --- a/src/skadns/skadnsd.c +++ b/src/skadns/skadnsd.c @@ -115,7 +115,9 @@ int main (void) if (ndelay_on(1) < 0) strerr_diefu2sys(111, "ndelay_on ", "1") ; if (!sig_ignore(SIGPIPE)) strerr_diefu1sys(111, "ignore SIGPIPE") ; tain_now_set_stopwatch_g() ; - if (!s6dns_init()) strerr_diefu1sys(111, "s6dns_init") ; + + if (!s6dns_rci_init(&s6dns_rci_here, "/etc/resolv.conf")) + strerr_diefu1sys(111, "initialize structures from /etc/resolv.conf") ; { tain deadline ; |