Re: bug report in route_linux.c

2015-05-11 Thread Niels Baggesen
Den 04-05-2015 kl. 04:42 skrev Pete Flugstad: > In Net-SNMP 5.7.3, the file > agent/mibgroup/ip-forward-mib/data_access/route_linux.c, the function > _load_ipv6 opens /proc/net/ipv6_route and processes it's contents. > > Immediately after opening the code does: > > fgets(line,sizeof(line),in);

bug report in route_linux.c

2015-05-03 Thread Pete Flugstad
In Net-SNMP 5.7.3, the file agent/mibgroup/ip-forward-mib/data_access/route_linux.c, the function _load_ipv6 opens /proc/net/ipv6_route and processes it's contents. Immediately after opening the code does: fgets(line,sizeof(line),in); /* skip header */ However, in my version of linux (3.16.0