This bug seems to appear in net-snmp-5.2 and still is present in 5.2.1
Some values, propably from ipAddr.c only, gets and extra \n for hex
output.
snmpwalk -v 1 -c public -OQn locahost .1.3.6.1.2.1.3.1.1.2.2.1.192
.1.3.6.1.2.1.3.1.1.2.2.1.192.168.1.1 = "00 10 4B 6B 18 87
"
.1.3.6.1.2.1.3.1.1.2.2.1.192.168.1.19 = "00 0F 1F 78 09 CE
"
the debug output is here
..
trace: netsnmp_handle_request(): snmp_agent.c, 2985:
results: RFC1213-MIB::atNetAddress.2.1.192.168.1.1 = Network
Address: C0:A8:01:01
trace: _snmp_build(): snmp_api.c, 2879:
snmp_send: Building SNMPv1 message...
trace: _snmp_build(): snmp_api.c, 2882:
dumph_send: PDU-RESPONSE
trace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3241:
snmp_pdu_realloc_rbuild: starting
trace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3256:
dumph_send: VarBind
trace: snmp_realloc_rbuild_var_op(): snmp.c, 341:
dumph_send: Value
dumpx_send: 40 04 C0 A8 01 01
dumpv_send: String: ....
trace: snmp_realloc_rbuild_var_op(): snmp.c, 442:
dumph_send: Name
dumpx_send: 06 11 2B 06 01 02 01 03 01 01 03 02 01 81 40 81
28 01 01
dumpv_send: ObjID: RFC1213-MIB::atNetAddress.2.1.192.168.1.1
..
--
Radek VokÃl <[EMAIL PROTECTED]>
OS Systems Engineer
IT executives rate Red Hat #1 for value
http://www.redhat.com/promo/vendor/index.html
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders