Added check in _global() for NOSUCHOBJECT response from SNMP

This commit is contained in:
Max Baker
2003-03-04 20:18:19 +00:00
parent 919906516d
commit 947c8679c8

View File

@@ -1152,6 +1152,10 @@ sub _global{
return undef; return undef;
} }
if (defined $val and $val eq 'NOSUCHOBJECT'){
$DEBUG and print "SNMP::Info::_global($attr) NOSUCHOBJECT\n";
return undef;
}
# Get the callback hash for data munging # Get the callback hash for data munging
my $munge = $self->munge(); my $munge = $self->munge();