From e958dc52c254794bd758ab824e3aa2749cb49b04 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 18 Jan 2021 15:17:59 +0000 Subject: Don't fill unneeded s6dns_rci_here --- src/dnsfunnel/dnsfunneld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dnsfunnel/dnsfunneld.c b/src/dnsfunnel/dnsfunneld.c index 2beef07..5df06f4 100644 --- a/src/dnsfunnel/dnsfunneld.c +++ b/src/dnsfunnel/dnsfunneld.c @@ -31,6 +31,7 @@ #include #include #include +#include #include @@ -225,7 +226,7 @@ int main (int argc, char const *const *argv) strerr_diefu1sys(111, "move file descriptors") ; if (ndelay_on(0) < 0) strerr_diefu1sys(111, "turn stdin non-blocking") ; if (sig_ignore(SIGPIPE) < 0) strerr_diefu1sys(111, "ignore SIGPIPE") ; - if (!s6dns_init()) strerr_diefu1sys(111, "s6dns_init") ; + if (!random_init()) strerr_diefu1sys(111, "s6dns_init") ; if (root[0]) { -- cgit v1.2.3