cannot get mac address value starting by "00" with an snmp module
dga via Net-snmp-coders <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have written an snmp module to include additional interfaces in the mib2 interface. However I face an issue with the field "ifPhysAddress" (mac address) if the mac address of the interface starts by "00" (example: "00:06:91:C6:B1:3F"). In that case I get "Hex-STRING: 00 00 00 00 00 00" instead of getting "Hex-STRING: 00 06 91 C6 B1 3F" . Is it a bug ? I have no issue with my module if the mac address that does NOT start by "00". There is also no issue get mac address starting by "00" for the default interfaces of the snmp demon. May be someone has ever face the same issue ? Any help would be greatly appreciated ! Best Regards, Damien GARCIA _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders