[2986858] Fix the patch from this ticket (Oliver Gorwits)

This commit is contained in:
Oliver Gorwits
2012-04-12 15:02:31 +01:00
parent 295e6fb283
commit 7d470fd0e8
2 changed files with 3 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ version 2.07 ()
* [3317739] Fix for Baystack without POE on stack member 1 (David Baldwin) * [3317739] Fix for Baystack without POE on stack member 1 (David Baldwin)
* [2037444] os_ver fails on some Extreme versions (Robert Kerr) * [2037444] os_ver fails on some Extreme versions (Robert Kerr)
* [2980789] Fix root_ip to try OSPF RouterID first (Brian De Wolf) * [2980789] Fix root_ip to try OSPF RouterID first (Brian De Wolf)
* [2986858] Fix the patch from this ticket (Oliver Gorwits)
version 2.06 (2011-09-28) version 2.06 (2011-09-28)

View File

@@ -159,7 +159,7 @@ sub i_duplex {
next if ( defined $partial and $iid !~ /^$partial$/ ); next if ( defined $partial and $iid !~ /^$partial$/ );
# Test for gigabit # Test for gigabit
if ( $p_duplex_cap->{$port} && $p_duplex_cap->{$port} == 0 ) { if ( defined $p_duplex_cap->{$port} and $p_duplex_cap->{$port} == 0 ) {
$i_duplex->{$iid} = 'full'; $i_duplex->{$iid} = 'full';
} }
@@ -194,7 +194,7 @@ sub i_duplex_admin {
next if ( defined $partial and $iid !~ /^$partial$/ ); next if ( defined $partial and $iid !~ /^$partial$/ );
# Test for gigabit # Test for gigabit
if ( $p_duplex_cap->{$port} && $p_duplex_cap->{$port} == 1 ) { if ( defined $p_duplex_cap->{$port} and $p_duplex_cap->{$port} == 1 ) {
$i_duplex_admin->{$iid} = 'full'; $i_duplex_admin->{$iid} = 'full';
} }