[3502533] Layer2/Baystack interface indexes > 513 (Robert Nyqvist)
This commit is contained in:
@@ -28,6 +28,7 @@ version 2.07 ()
|
|||||||
* [3136084] Rename Allied Telesyn to Allied Telesis (Oliver Gorwits)
|
* [3136084] Rename Allied Telesyn to Allied Telesis (Oliver Gorwits)
|
||||||
* [3268104] CiscoVTP.pm i_vlan_membership() array bounds (Michael Sanderson)
|
* [3268104] CiscoVTP.pm i_vlan_membership() array bounds (Michael Sanderson)
|
||||||
* [3497004] Clarify POD description of default values (a2w)
|
* [3497004] Clarify POD description of default values (a2w)
|
||||||
|
* [3502533] Layer2/Baystack interface indexes > 513 (Robert Nyqvist)
|
||||||
|
|
||||||
version 2.06 (2011-09-28)
|
version 2.06 (2011-09-28)
|
||||||
|
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ sub interfaces {
|
|||||||
next unless defined $index;
|
next unless defined $index;
|
||||||
|
|
||||||
# Ignore cascade ports
|
# Ignore cascade ports
|
||||||
next if $index > 513;
|
next if $index > $index_factor * 8;
|
||||||
|
|
||||||
my $port = ( $index % $index_factor );
|
my $port = ( $index % $index_factor );
|
||||||
my $slot = ( int( $index / $index_factor ) ) + $slot_offset;
|
my $slot = ( int( $index / $index_factor ) ) + $slot_offset;
|
||||||
|
|||||||
Reference in New Issue
Block a user