#10023 Fixed duplex 2
This commit is contained in:
parent
1e6c2fcdf7
commit
1d3d460ad5
|
@ -230,12 +230,8 @@ sub prepare_tree {
|
|||
|
||||
my $duplex = snmp_get(\%duplex_call);
|
||||
if (ref($duplex) eq "HASH") {
|
||||
<<<<<<< Updated upstream
|
||||
if (! exists($duplex->{'data'}) || $duplex->{'data'} eq '') {
|
||||
=======
|
||||
if ($duplex->{'data'} ne '2' && $duplex->{'data'} ne '3') {
|
||||
if (! exists($duplex->{'data'}) || ($duplex->{'data'} ne '2' && $duplex->{'data'} ne '3')) {
|
||||
# Unknown duplex.
|
||||
>>>>>>> Stashed changes
|
||||
$duplex = 0;
|
||||
} else {
|
||||
$duplex = int $duplex->{'data'};
|
||||
|
|
Loading…
Reference in New Issue