]> granicus.if.org Git - pdns/commitdiff
We used setSwitch() on allow-2136-from, move to set
authorRuben d'Arco <cyclops@prof-x.net>
Wed, 27 Feb 2013 22:52:37 +0000 (23:52 +0100)
committermind04 <mind04@monshouwer.org>
Fri, 12 Jul 2013 15:22:04 +0000 (17:22 +0200)
pdns/common_startup.cc

index ec4278c099820bdaeecedae06416083ab2b78c2f..122d793cce99d497aea811283db15650256e1fb3 100755 (executable)
@@ -40,7 +40,7 @@ void declareArguments()
 {
   ::arg().set("local-port","The port on which we listen")="53";
   ::arg().setSwitch("experimental-rfc2136","Enable/Disable RFC2136 (Dynamic DNS) support. Default is no.")="no";
-  ::arg().setSwitch("allow-2136-from","A global setting to allow RFC2136 from these IP ranges.")="0.0.0.0/0";
+  ::arg().set("allow-2136-from","A global setting to allow RFC2136 from these IP ranges.")="0.0.0.0/0";
   ::arg().setSwitch("log-dns-details","If PDNS should log DNS non-erroneous details")="";
   ::arg().setSwitch("log-dns-queries","If PDNS should log all incoming DNS queries")="no";
   ::arg().set("urlredirector","Where we send hosts to that need to be url redirected")="127.0.0.1";