From dbd23fc204ae50fcc01404413a7da94e98c1d6a3 Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Thu, 10 Jan 2013 15:45:22 +0000 Subject: [PATCH] make sure we don't disregard the commandline when doing reload-acls for recursor, closing ticket 490. git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3037 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- pdns/pdns_recursor.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 2e465c831..e315e5260 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1541,6 +1541,9 @@ void* pleaseSupplantACLs(NetmaskGroup *ng) return 0; } +int g_argc; +char** g_argv; + void parseACLs() { static bool l_initialized; @@ -1551,8 +1554,9 @@ void parseACLs() if(!::arg().preParseFile(configname.c_str(), "allow-from-file")) L<