[#250] Linux SSHColletor cannot handle uppercase MACs

This commit is contained in:
Oliver Gorwits
2015-11-28 23:44:37 +00:00
parent e70f0656d7
commit 535e48cf63
2 changed files with 2 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ sub arpnip {
my @lines = split(m/\n/, $before);
# 192.168.1.1 ether 00:b6:aa:f5:bb:6e C eth1
my $linereg = qr/([0-9\.]+)\s+ether\s+([a-f0-9:]+)/;
my $linereg = qr/([0-9\.]+)\s+ether\s+([a-fA-F0-9:]+)/;
foreach my $line (@lines) {
if ($line =~ $linereg) {