This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: SNMP lockup
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 8 May 2009 21:22:30 +0000 (UTC)
- Subject: [ECOS] Re: SNMP lockup
- References: <gu2618$v7u$1@ger.gmane.org>
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