Support undefined (noSuchIntance) values in Offline mode
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
SNMP::Info - Friendly OO-style interface to Network devices using SNMP.
|
||||
|
||||
version 3.32 ()
|
||||
|
||||
[BUG FIXES]
|
||||
|
||||
* Support undefined (noSuchIntance) values in Offline mode
|
||||
|
||||
version 3.31 (2016-01-22)
|
||||
|
||||
[ENHANCEMENTS]
|
||||
|
||||
2
Info.pm
2
Info.pm
@@ -3814,7 +3814,7 @@ sub _global {
|
||||
# Return cached data unless loading
|
||||
# We now store in raw format so munge before returning
|
||||
# unless expecting raw data
|
||||
if ( defined $self->{"_$attr"} && !$load ) {
|
||||
if ( exists $self->{"_$attr"} && !$load ) {
|
||||
my $val = $self->{"_$attr"};
|
||||
|
||||
if ( !$raw ) {
|
||||
|
||||
Reference in New Issue
Block a user