From: Remi Gacogne Date: Wed, 14 Jun 2017 12:36:14 +0000 (+0200) Subject: rec: snmp-master-socket is a parameter, not a switch X-Git-Tag: rec-4.1.0-alpha1~85^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=396f126e4879f0b09937adbcfa4d185d797beb03;p=thirdparty%2Fpdns.git rec: snmp-master-socket is a parameter, not a switch --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index e2dabebcce..009145150e 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -3219,7 +3219,7 @@ int main(int argc, char **argv) ::arg().setSwitch("reuseport","Enable SO_REUSEPORT allowing multiple recursors processes to listen to 1 address")="no"; ::arg().setSwitch("snmp-agent", "If set, register as an SNMP agent")="no"; - ::arg().setSwitch("snmp-master-socket", "If set and snmp-agent is set, the socket to use to register to the SNMP master")=""; + ::arg().set("snmp-master-socket", "If set and snmp-agent is set, the socket to use to register to the SNMP master")=""; ::arg().set("tcp-fast-open", "Enable TCP Fast Open support on the listening sockets, using the supplied numerical value as the queue size")="0";