From 396f126e4879f0b09937adbcfa4d185d797beb03 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 14 Jun 2017 14:36:14 +0200 Subject: [PATCH] rec: snmp-master-socket is a parameter, not a switch --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.47.2