This is a discussion on Re: Patch for error on subcontainer insert(-1) within the SNMP Coders forums, part of the Networking and Network Related category; On 20/02/07, Emi.Yanagi@radisys.com <Emi.Yanagi@radisys.com> wrote: > I found the email ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 20/02/07, Emi.Yanagi@radisys.com <Emi.Yanagi@radisys.com> wrote:
> I found the email below on "error on subcontainer insert(-1)" from > net-snmp-coders emails, but I couldn't find the attached patch in the > email. > Would you please send me a copy of the patch The patch that Robert referred to is as follows: diff -u -p -r1.14.2.1 ipAddressTable_data_access.c --- ./agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable_data_access.c 25 Jan 2006 16:26:39 -0000 1.14.2.1 +++ ./agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable_data_access.c 30 Oct 2006 19:01:17 -0000 @@ -333,8 +333,8 @@ ipAddressTable_container_load(netsnmp_co * the container. */ ipaddress_container = - netsnmp_access_ipaddress_container_load(NULL, - NETSNMP_ACCESS_IPADDRESS_LOAD_ADDL_IDX_BY_ADDR); + netsnmp_access_ipaddress_container_load(NULL, 0); + /* * we just got a fresh copy of interface data. compare it to * what we've already got, and make any adjustments, saving [That may get mangled in transit, but it's sufficiently simple that you should be able to apply it by hand!] Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
|
|||
|
I tried to apply this on 5.3.1. Now I get segfault in
ipAddressTable_container_shutdown when doing an snmpwalk. The last line of the snmpwalk is always: IP-MIB::ipSystemStatsRefreshRate.ipv4 = Gauge32: 30000 milli-seconds Regards, Morten On Feb 22, 11:21 am, D.T.Shi...@csc.liv.ac.uk ("Dave Shield") wrote: > On 20/02/07, Emi.Yan...@radisys.com <Emi.Yan...@radisys.com> wrote: > > > I found the email below on "error onsubcontainerinsert(-1)" from > > net-snmp-coders emails, but I couldn't find the attached patch in the > > email. > > Would you please send me a copy of the patch > > The patch that Robert referred to is as follows: > > diff -u -p -r1.14.2.1 ipAddressTable_data_access.c > --- ./agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable_data_access.c 25 > Jan 2006 16:26:39 -0000 1.14.2.1 > +++ ./agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable_data_access.c 30 > Oct 2006 19:01:17 -0000 > @@ -333,8 +333,8 @@ ipAddressTable_container_load(netsnmp_co > * the container. > */ > ipaddress_container = > - netsnmp_access_ipaddress_container_load(NULL, > - > NETSNMP_ACCESS_IPADDRESS_LOAD_ADDL_IDX_BY_ADDR); > + netsnmp_access_ipaddress_container_load(NULL, 0); > + > /* > * we just got a fresh copy of interface data. compare it to > * what we've already got, and make any adjustments, saving > > [That may get mangled in transit, but it's sufficiently simple that > you should be able to apply it by hand!] > > Dave > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DE... > _______________________________________________ > Net-snmp-coders mailing list > Net-snmp-cod...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/net-snmp-coders |