[3502533] Layer2/Baystack interface indexes > 513 (Robert Nyqvist)

This commit is contained in:
Oliver Gorwits
2012-04-12 15:47:23 +01:00
parent 11dbeb2741
commit 47032cbb4a
2 changed files with 2 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ version 2.07 ()
* [3136084] Rename Allied Telesyn to Allied Telesis (Oliver Gorwits)
* [3268104] CiscoVTP.pm i_vlan_membership() array bounds (Michael Sanderson)
* [3497004] Clarify POD description of default values (a2w)
* [3502533] Layer2/Baystack interface indexes > 513 (Robert Nyqvist)
version 2.06 (2011-09-28)

View File

@@ -162,7 +162,7 @@ sub interfaces {
next unless defined $index;
# Ignore cascade ports
next if $index > 513;
next if $index > $index_factor * 8;
my $port = ( $index % $index_factor );
my $slot = ( int( $index / $index_factor ) ) + $slot_offset;