This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SNMP lockup


On 2009-05-08, Grant Edwards <grante@visi.com> wrote:

> The OIDs that are causing the problem are
>
> .1.3.6.1.2.1.2.2.1.n.0
>
> That's a query for an attribute of network interface #0.  Which
> attribute depends on n: 6==physAddr, 2=name, etc.  That last
> feild (.0) in the OID is the interface number.

It appears that in mibgroup/mibII/interfaces.c, the call to 

  cyg_snmp_get_if(if_num)

with if_num==0 never returns.

-- 
Grant Edwards                   grante             Yow! Everybody is going
                                  at               somewhere!!  It's probably
                               visi.com            a garage sale or a disaster
                                                   Movie!!


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]