Re: Patch for error on subcontainer insert(-1)

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2007
Dave Shield
 
Posts: n/a
Default Re: Patch for error on subcontainer insert(-1)

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
Reply With Quote
  #2 (permalink)  
Old 04-11-2007
Morten Laursen
 
Posts: n/a
Default Re: Patch for error on subcontainer insert(-1)

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



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0