On Fri, 1 Oct 2004 10:55:59 -0700 Jeff wrote:
JJ> We have encountered a problem with the way the interfaces mib code
JJ> (agent/mibgroup/mibII/interfaces.c) calculates and handles ifIndex
JJ> values in our Linux-based system.  The root cause is that this code uses
JJ> the ordinal order of appearance in /proc/net/dev as the ifIndex instead
JJ> of the actual kernel-assigned(?) value that is available via the
JJ> SIOCGIFINDEX ioctl.  This problem manifests itself when devices are
JJ> removed from the system.

Thanks for the patch. A slightly modified version was applied, and will be
available in 5.1.3 and 5.2.


-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to