typo found by diabolic_mdog
This commit is contained in:
8
Info.pm
8
Info.pm
@@ -2295,7 +2295,7 @@ sub _load_attr {
|
|||||||
if ($ver == 1 and $nosuch and $errornum and $sess->{ErrorStr} =~ /nosuch/i){
|
if ($ver == 1 and $nosuch and $errornum and $sess->{ErrorStr} =~ /nosuch/i){
|
||||||
$errornum = 0;
|
$errornum = 0;
|
||||||
} elsif ($errornum){
|
} elsif ($errornum){
|
||||||
$self->error_throw("SNMP::Info::_load_atr: Varbind ".$sess->{ErrorStr}."\n");
|
$self->error_throw("SNMP::Info::_load_atrr: Varbind ".$sess->{ErrorStr}."\n");
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
my $localstore = undef;
|
my $localstore = undef;
|
||||||
@@ -2310,7 +2310,7 @@ sub _load_attr {
|
|||||||
if ($bulkwalk){
|
if ($bulkwalk){
|
||||||
($vars) = $sess->bulkwalk(0, $repeaters, $var);
|
($vars) = $sess->bulkwalk(0, $repeaters, $var);
|
||||||
if($sess->{ErrorNum}) {
|
if($sess->{ErrorNum}) {
|
||||||
$self->error_throw("SNMP::Info::_load_atr: BULKWALK ".$sess->{ErrorStr},"\n");
|
$self->error_throw("SNMP::Info::_load_atrr: BULKWALK ".$sess->{ErrorStr},"\n");
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2341,11 +2341,11 @@ sub _load_attr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($val eq 'NOSUCHOBJECT'){
|
if ($val eq 'NOSUCHOBJECT'){
|
||||||
$self->error_throw("SNMP::Info::_load_atr: $attr : NOSUCHOBJECT");
|
$self->error_throw("SNMP::Info::_load_atrr: $attr : NOSUCHOBJECT");
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
if ($val eq 'NOSUCHINSTANCE'){
|
if ($val eq 'NOSUCHINSTANCE'){
|
||||||
$self->error_throw("SNMP::Info::_load_atr: $attr : NOSUCHINSTANCE");
|
$self->error_throw("SNMP::Info::_load_atrr: $attr : NOSUCHINSTANCE");
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user