From c5b39c984dc02119f5ce4a8072f82b4a97b51008 Mon Sep 17 00:00:00 2001 From: Ruben d'Arco Date: Wed, 27 Feb 2013 23:52:37 +0100 Subject: [PATCH] We used setSwitch() on allow-2136-from, move to set --- pdns/common_startup.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index ec4278c09..122d793cc 100755 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -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"; -- 2.49.0