Serial number on Nexus 9372 (genereic check for ID before using) (M. Caines)
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
SNMP::Info - Friendly OO-style interface to Network devices using SNMP.
|
SNMP::Info - Friendly OO-style interface to Network devices using SNMP.
|
||||||
|
|
||||||
|
version 3.34 ()
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* Serial number on Nexus 9372 (genereic check for ID before using) (M. Caines)
|
||||||
|
|
||||||
version 3.33 (2016-04-27)
|
version 3.33 (2016-04-27)
|
||||||
|
|
||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ sub serial {
|
|||||||
my $parent = $e_parent->{$iid};
|
my $parent = $e_parent->{$iid};
|
||||||
if ( $parent eq '0' ) {
|
if ( $parent eq '0' ) {
|
||||||
my $serial = $l3->e_serial($iid);
|
my $serial = $l3->e_serial($iid);
|
||||||
if ( $serial ) {
|
if ( $serial && $serial->{$iid} ) {
|
||||||
return $serial->{$iid};
|
return $serial->{$iid};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user