Re: linux: ifIndex values shift when interfaces are removed

2004-10-05 Thread Dave Shield
Wes> I believe the fix that I thought Dave? wrote actually cached the names Wes> and used previously cached numbers based on interface names. Yup. Robert> I think the SIOCGIFINDEX method is probably cleaner Probably, though of course it won't necessarily be available across all architectures.

Re: linux: ifIndex values shift when interfaces are removed

2004-10-02 Thread Coders
On Fri, 01 Oct 2004 15:44:48 -0700 Wes wrote: WH> Jeff> I've just opened bug 1038616 against this problem, which WH> Jeff> also seems related to bugs 860414 and 865415. The bug description WH> Jeff> follows. A patch has been attached to the bug. WH> WH> Out of curiosity, have you tried the 5.2.p

Re: linux: ifIndex values shift when interfaces are removed

2004-10-01 Thread Coders
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 appearanc

Re: linux: ifIndex values shift when interfaces are removed

2004-10-01 Thread Wes Hardaker
> On Fri, 1 Oct 2004 10:55:59 -0700, "Jeff Johnson" <[EMAIL PROTECTED]> said: Jeff> As I have previously mentioned, I'm trying to convert our Jeff> 5.0.7-based code to 5.1.2. One of the things I've encountered Jeff> is a fix to a bug that was applied locally, but apparently was Jeff> never co

linux: ifIndex values shift when interfaces are removed

2004-10-01 Thread Jeff Johnson
As I have previously mentioned, I’m trying to convert our 5.0.7-based code to 5.1.2.  One of the things I’ve encountered is a fix to a bug that was applied locally, but apparently was never communicated to the net-snmp group, or was never applied, since the bug is present in the 5.1.2 code.