Skip Menu |

This queue is for tickets about the Net-SNMP CPAN distribution.

Report information
The Basics
Id: 3840
Status: resolved
Worked: 1 min
Priority: 0/
Queue: Net-SNMP

People
Owner: dtown [...] cpan.org
Requestors: rykowski [...] northwestern.edu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 4.1.2
Fixed in: (no value)



Subject: MAC address gets monged
Hello, I'm using Net:SNMP version 4.1.2 on a SunOS 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-250 and perl 5.8.0. When I walk thru the arp table of a cisco 6509 router (may have the same problems with other routers) some MAC addresses get monged. For example the following perl code: $macmib = ".1.3.6.1.2.1.3.1.1.2"; $res = $session->get_table(-baseoid=>$macmib); if (!defined($res)){ print "not defined\n"; exit; } foreach $oid (keys(%{$res})){ $mac = "$res->{$oid}"; print "$oid $mac\n"; } Produces: .1.3.6.1.2.1.3.1.1.2.18.1.129.105.221.207 0x0001038a6023 .1.3.6.1.2.1.3.1.1.2.22.1.129.105.156.185 0x000bcda1e9b9 .1.3.6.1.2.1.3.1.1.2.20.1.129.105.109.93 0enaR .1.3.6.1.2.1.3.1.1.2.22.1.129.105.156.186 0x000bcda1e909 .1.3.6.1.2.1.3.1.1.2.10.1.199.74.101.27 0x000c6e4840fe The 129.105.109.93 entry should be 0030.656e.6152. All most all of the other mac addresses get printed out correctly. I tried to search for an existing bug that would explain this, but I couldn't find one. I thought I would let you know about this. Any ideas of what might be happening? Thank you in advance.
This is a duplicate report of bug #1946. Please see the resolution listed in that bug report at: http://rt.cpan.org/NoAuth/Bug.html?id=1946. -David