[3541442] Change L2::Catalyst port names to what is reported in CDP
This commit is contained in:
@@ -29,6 +29,7 @@ version 2.07 ()
|
|||||||
* Get OS version for Juniper devices not reporting in sysDescr
|
* Get OS version for Juniper devices not reporting in sysDescr
|
||||||
* Correct base MAC reporting for Juniper devices
|
* Correct base MAC reporting for Juniper devices
|
||||||
* Correct reporting of SSID broadcast status in Airespace class
|
* Correct reporting of SSID broadcast status in Airespace class
|
||||||
|
* [3541442] Change L2::Catalyst port names to what is reported in CDP
|
||||||
* [2132349] Add an additional check to get Foundry OS version
|
* [2132349] Add an additional check to get Foundry OS version
|
||||||
* [2929883] [3413999] LLDP interface mapping issue
|
* [2929883] [3413999] LLDP interface mapping issue
|
||||||
* [3297786] LLDP TimeMark component defaults to zero (David Baldwin)
|
* [3297786] LLDP TimeMark component defaults to zero (David Baldwin)
|
||||||
|
|||||||
@@ -148,7 +148,9 @@ sub interfaces {
|
|||||||
foreach my $iid ( keys %$i_index ) {
|
foreach my $iid ( keys %$i_index ) {
|
||||||
next unless defined $iid;
|
next unless defined $iid;
|
||||||
my $if = $i_index->{$iid};
|
my $if = $i_index->{$iid};
|
||||||
|
$if =~ s/\./\// if $if;
|
||||||
my $port = $portmap{$iid};
|
my $port = $portmap{$iid};
|
||||||
|
$port =~ s/\./\// if $port;
|
||||||
$interfaces{$iid} = $port || $if;
|
$interfaces{$iid} = $port || $if;
|
||||||
}
|
}
|
||||||
return \%interfaces;
|
return \%interfaces;
|
||||||
|
|||||||
Reference in New Issue
Block a user