net-snmp/net-snmp-5.3.1-mib-option.patch
Jan Šafránek ecb48084c9 - fix snmptrapd hostname logging
- fix udpEndpointProcess remote IP address
- fix -M option of net-snmp-utils Resolves: #238587 #236551 #244784
2007-06-25 09:09:15 +00:00

11 lines
410 B
Diff

--- net-snmp-5.3.1/snmplib/snmp_parse_args.c.orig 2005-11-23 10:11:40.000000000 +0100
+++ net-snmp-5.3.1/snmplib/snmp_parse_args.c 2007-06-14 13:10:54.000000000 +0200
@@ -275,6 +275,7 @@
break;
case 'M':
+ netsnmp_get_mib_directory(); /* prepare the default directories */
netsnmp_set_mib_directory(optarg);
break;
#endif /* DISABLE_MIB_LOADING */