more whitespace cleanup

This commit is contained in:
inphobia
2019-01-19 04:55:14 +01:00
parent 5562144209
commit 93787c4c45
23 changed files with 187 additions and 189 deletions

View File

@@ -53,7 +53,7 @@ our $index = undef;
# 'ADTRAN-GENPORT-MIB' => 'adGenPort',
'ADTRAN-MIB' => 'adtran',
'ADTRAN-AOSUNIT' => 'adGenAOSUnitMib',
);
);
%GLOBALS = (
%SNMP::Info::Layer2::GLOBALS,

View File

@@ -222,13 +222,11 @@ sub mac {
# syntax stolen from sub munge_mac in SNMP::Info
$mac = lc join( ':', map { sprintf "%02x", $_ } unpack( 'C*', $mac ) );
return $mac if $mac =~ /^([0-9A-F][0-9A-F]:){5}[0-9A-F][0-9A-F]$/i;
}
}
# MAC malformed or missing
return;
}
sub interfaces {