From 207845f50a8fb54fe8e584928078dc3687399caf Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 12 Jul 2023 16:53:59 +0000 Subject: Pass on all clients, add hosts support wherever applicable Signed-off-by: Laurent Bercot --- src/skadns/skadnsd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/skadns/skadnsd.c') 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 ; -- cgit v1.2.3