diff options
-rw-r--r-- | contrib/bsnmp/snmpd/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/bsnmp/snmpd/main.c b/contrib/bsnmp/snmpd/main.c index 02ae93e..32ccc45 100644 --- a/contrib/bsnmp/snmpd/main.c +++ b/contrib/bsnmp/snmpd/main.c @@ -1386,7 +1386,9 @@ main(int argc, char *argv[]) if (value == NULL) syslog(LOG_ERR, "no value for 'trace'"); - snmp_trace = strtoul(value, NULL, 0); + else + snmp_trace = + strtoul(value, NULL, 0); break; case -1: |