With Linux on x86(_64) hardware I get a bad netmask from the ipCidrRouteTable:
$ snmpwalk -OX localhost:6161 ipCidrRouteTable IP-FORWARD-MIB::ipCidrRouteDest[0.0.0.0][0.0.0.0][0][172.18.0.1] = IpAddress: 0.0.0.0 IP-FORWARD-MIB::ipCidrRouteDest[169.254.0.0][0.0.255.255][0][0.0.0.0] = IpAddress: 169.254.0.0 IP-FORWARD-MIB::ipCidrRouteDest[172.18.0.0][0.0.255.255][0][0.0.0.0] = IpAddress: 172.18.0.0 ... It seems that there is a superflous htonl performed on the netmask in agent/mibgroup/ip-forward-mib/data_access/route_linux.c around line 125 (it is suspicious that only the mask is subject to htonl) But I would like to hear from someone with big-endian hardware before killing it :-) /Niels -- Niels Baggesen - @home - Ã…rhus - Denmark - [email protected] The purpose of computing is insight, not numbers --- R W Hamming ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
