Serial number on Nexus 9372 (genereic check for ID before using) (M. Caines)

This commit is contained in:
Oliver Gorwits
2016-05-17 16:37:36 +01:00
parent af6ae8e419
commit aeca44c7aa
2 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
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)
[ENHANCEMENTS]

View File

@@ -201,7 +201,7 @@ sub serial {
my $parent = $e_parent->{$iid};
if ( $parent eq '0' ) {
my $serial = $l3->e_serial($iid);
if ( $serial ) {
if ( $serial && $serial->{$iid} ) {
return $serial->{$iid};
}
else {