#140 LLDP fixes - treat remote port type of 'local' as an interface name
This commit is contained in:
6
Changes
6
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)
|
Version 3.59 (2018-05-01)
|
||||||
|
|
||||||
[NEW FEATURES]
|
[NEW FEATURES]
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ sub lldp_port {
|
|||||||
foreach my $key ( sort keys %$pid ) {
|
foreach my $key ( sort keys %$pid ) {
|
||||||
my $port = $pdesc->{$key};
|
my $port = $pdesc->{$key};
|
||||||
my $type = $ptype->{$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,
|
# If the pid claims to be an interface name,
|
||||||
# believe it.
|
# believe it.
|
||||||
|
|||||||
Reference in New Issue
Block a user