diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-01-18 15:17:59 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-01-18 15:17:59 +0000 |
commit | e958dc52c254794bd758ab824e3aa2749cb49b04 (patch) | |
tree | a1f99a2617933c9b12d4eaf54d16bea47a63e359 /src | |
parent | c47e30d38e6815174ddfc0fa0d718da18849db75 (diff) | |
download | dnsfunnel-e958dc52c254794bd758ab824e3aa2749cb49b04.tar.gz dnsfunnel-e958dc52c254794bd758ab824e3aa2749cb49b04.tar.xz dnsfunnel-e958dc52c254794bd758ab824e3aa2749cb49b04.zip |
Don't fill unneeded s6dns_rci_here
Diffstat (limited to 'src')
-rw-r--r-- | src/dnsfunnel/dnsfunneld.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <skalibs/iopause.h> #include <skalibs/selfpipe.h> #include <skalibs/gensetdyn.h> +#include <skalibs/random.h> #include <s6-dns/s6dns.h> @@ -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]) { |