Hi Net-SNMP Gurus -- I have two different tables in the same MIB definition. They both have essentially the same structure. One is simply an integer index, then an InetAddressType and InetAddress. The second is two integer indices and an InetAddressType and InetAddress.
Here is the behavior I have observed. The table indexed with two integers returns the following with the net-snmp 5.5 release of snmpwalk: xxx.arris.1 = Hex-STRING: 0A 0A 0A F0 xxx.arris.2 = Hex-STRING: 0A 0A 0A F1 xxx.cisco.5 = Hex-STRING: 0A 0A 0A F4 (xxx's added for brevity). This response makes sense to me and maps the the IP v4 addresses that were used very directly and nicely. However, if I walk that same column with the 5.6 or the 5.7.2 release of snmpwalk I get: xxx.arris.1 = STRING: " ?" xxx.arris.2 = STRING: " ?" xxx.cisco.5 = STRING: " ?" Okay, a version difference/bug -- no big deal, right? Well, it get's weirder. The second table in the same MIB where I use InetAddress with a single index I get responses in the latter form -- no matter which version of snmpwalk I use. i.e. 5.5, 5.6 and 5.7.2 all return: yyy.1 = STRING: " E" I never get the HEX-STRING version. Am I coding my agent incorrectly? Is this an snmpwalk bug? Any ideas what might be going on here? I've searched around a bunch and haven't come up with anything. If it makes any difference the agent code was all developed with the mibs-for-dummies mib2c profile. Thanks!! Andrew ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users