Re: ifInOctets

2009-10-20 Thread Konstantin Abramenko
Hello, On Thursday 15 October 2009 12:18:35 Karthikeyan N wrote: > In interfaces.c file, I could see the following code. > > case IFINOCTETS: > long_return = (u_long) if_msg.ifm_data.ifi_ibytes; > return (u_char *) & long_return; > > I could see a possibl

ifInOctets

2009-10-15 Thread Karthikeyan N
In interfaces.c file, I could see the following code. case IFINOCTETS: long_return = (u_long) if_msg.ifm_data.ifi_ibytes; return (u_char *) & long_return; I could see a possiblity of 2 different issues with the above code. 1. global variable 'long return' is d