Re: two fixes for net-snmp-5.7.1

2011-11-11 Thread Niels Baggesen
Den 11-11-2011 17:05, Timo Teräs skrev: > Looks about right, assuming there's no clean up skipped. I just did the > patch as a immediate fix without analysing the function further. No, there was only a debug output ... > I also filed a sf.net tracker item about this... Thanks. Applied and closed

Re: two fixes for net-snmp-5.7.1

2011-11-11 Thread Niels Baggesen
Den 11-11-2011 13:04, Timo Teräs skrev: > * netsnmp-swinst-crash.patch >- fixes a crash (happens at least on uclibc systems) when a > closedir(NULL) is executed under certain conditions I would like to fix this in a different way. What do you think about this patch: --- a/agent/mibgroup

Re: two fixes for net-snmp-5.7.1

2011-11-11 Thread Timo Teräs
On 11/11/2011 05:46 PM, Niels Baggesen wrote: > Den 11-11-2011 13:04, Timo Teräs skrev: >> * netsnmp-swinst-crash.patch >>- fixes a crash (happens at least on uclibc systems) when a >> closedir(NULL) is executed under certain conditions > > I would like to fix this in a different way. Wha

Re: two fixes for net-snmp-5.7.1

2011-11-11 Thread Thomas Anders
Timo Teräs wrote: > Find attached two important fixes for net-snmp-5.7.1. > > * netsnmp-arp-netlink-fix.patch > - fixes a problem with my earlier patch that would not reload > the ARP cache if it was once unloaded > - optimises the reload to happen only if the cache was actually > unlo

two fixes for net-snmp-5.7.1

2011-11-11 Thread Timo Teräs
Hi, Find attached two important fixes for net-snmp-5.7.1. * netsnmp-arp-netlink-fix.patch - fixes a problem with my earlier patch that would not reload the ARP cache if it was once unloaded - optimises the reload to happen only if the cache was actually unloaded before * netsnmp-swins

Re: Register OID

2011-11-11 Thread francisco moreno
Thanks for your answer I tried your option, but the result is similar. I have saw the log file of "snmp master agentx" and its traces are: register_mib: unregistering SNMPv2-SMI::transmission.12346.700.1.0 register_mib: unload(SNMPv2-SMI::transmission.12346.700.1.0, [NIL]) register_mib: unregi

Problem with running SNMP agent

2011-11-11 Thread prashant n
Hi, I compiled SNMP agent with MIB module and i created snmpd.conf file using snmpconf script, with following contents ### # # snmpd.conf # # - created by the snmpconf configuration program #