Skip to content

Commit

Permalink
normalize mac addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Rousse authored and Guillaume Rousse committed Oct 10, 2011
1 parent 256932f commit 170e86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FusionInventory/Agent/Task/SNMPQuery.pm
Expand Up @@ -552,7 +552,7 @@ sub _setGenericProperties {
if ($results->{ifPhysAddress}) {
while (my ($oid, $data) = each %{$results->{ifPhysAddress}}) {
next unless $data;
$ports->[getLastElement($oid)]->{MAC} = $data;
$ports->[getLastElement($oid)]->{MAC} = alt2canonical($data);
}
}

Expand Down

0 comments on commit 170e86f

Please sign in to comment.