diff --git a/Changes b/Changes index a65b9d90..da73820c 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,9 @@ +Version 3.60 + + [BUG FIXES] + + * #140 LLDP fixes - treat remote port type of 'local' as an interface name + Version 3.59 (2018-05-01) [NEW FEATURES] diff --git a/lib/SNMP/Info/LLDP.pm b/lib/SNMP/Info/LLDP.pm index 4b491821..d428bdd1 100644 --- a/lib/SNMP/Info/LLDP.pm +++ b/lib/SNMP/Info/LLDP.pm @@ -233,7 +233,7 @@ sub lldp_port { foreach my $key ( sort keys %$pid ) { my $port = $pdesc->{$key}; my $type = $ptype->{$key}; - if ( $type and $type eq 'interfaceName' ) { + if ( $type and ($type eq 'interfaceName' or $type eq 'local') ) { # If the pid claims to be an interface name, # believe it.