From: Otto Moerbeek Date: Wed, 27 Feb 2019 16:03:45 +0000 (+0000) Subject: Fix dns_random() in pdns_notify, it needs ::args setup properly. X-Git-Tag: dnsdist-1.4.0-alpha1~54^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cff2753d7ca081b7e83270e41d44765c83e45f3c;p=pdns Fix dns_random() in pdns_notify, it needs ::args setup properly. --- diff --git a/pdns/notify.cc b/pdns/notify.cc index 2dc595bf0..1ec0c11d6 100644 --- a/pdns/notify.cc +++ b/pdns/notify.cc @@ -60,6 +60,8 @@ int main(int argc, char** argv) try { set addrs; + ::arg().set("rng")="auto"; + ::arg().set("entropy-source")="/dev/urandom"; for(int n=1 ; n < argc; ++n) { if ((string) argv[n] == "--help") {