This is the mail archive of the ecos-patches@sources.redhat.com 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 and PPP update


Andrew,

I have 2 network interfaces now (ethernet and PPP). 
There were 2 problems in helpers.c
1) The variable 'index' would not be incremented
unless the ifnet_addrs[index] was NULL.  Therefore,
the SNMP manager was showing that I had two ethernet
interfaces.  Basically, it showed the first interface
twice.

2) After I corrected #1, the SNMP manager showed my
two interfaces as ethernet and loopback.  So, I added
the if statement to skip the loopback interface.  Now
the manager correctly shows an ethernet and PPP
interface.

-- Matt

--- Andrew Lunn <andrew@lunn.ch> wrote:
 
> I've no problem with the PPP change. But please
> could you say some
> more on the other change. It not obvious to me what
> is wrong and how
> you have fixed it.
> 
>         Thanks
>                 Andrew



	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/


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