From c130b9a49ec39f72ff5c3bf3e1638d3d4d9d9161 Mon Sep 17 00:00:00 2001 From: Eric Miller <> Date: Tue, 22 Aug 2006 01:42:56 +0000 Subject: [PATCH] Fix SNMPv1 partial table fetches, bug introduced by patch to enable single instance partial table fetches. --- Info.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Info.pm b/Info.pm index 78abcbe8..a2080adb 100644 --- a/Info.pm +++ b/Info.pm @@ -2543,8 +2543,8 @@ sub _load_attr { # long enough; implementing that would require a # lot of MIB mucking. my $try = $sess->get($var); - $errornum = $sess->{ErrorNum}; - if (defined($try) && $errornum == 0 && $try !~ /^NOSUCH/) { + my $errorno = $sess->{ErrorNum}; + if (defined($try) && $errorno == 0 && $try !~ /^NOSUCH/) { $var->[2] = $try; $vars = [ $var ]; $bulkwalk = 1; # fake a bulkwalk return