#10023 Fixed duplex
This commit is contained in:
parent
48c8f31352
commit
1e6c2fcdf7
|
@ -230,7 +230,12 @@ 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') {
|
||||
# Unknown duplex.
|
||||
>>>>>>> Stashed changes
|
||||
$duplex = 0;
|
||||
} else {
|
||||
$duplex = int $duplex->{'data'};
|
||||
|
|
Loading…
Reference in New Issue