From b3fb18eee6c3a1f8e8e2a4e48fb371835177d708 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Thu, 12 Apr 2012 15:19:59 +0100 Subject: [PATCH] [3076592] Not an ARRAY reference in Info.pm (Oliver Gorwits) --- ChangeLog | 1 + Info.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cf4d812c..13a2160b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,7 @@ version 2.07 () * [2037444] os_ver fails on some Extreme versions (Robert Kerr) * [2980789] Fix root_ip to try OSPF RouterID first (Brian De Wolf) * [2986858] Fix the patch from this ticket (Oliver Gorwits) + * [3076592] Not an ARRAY reference in Info.pm (Oliver Gorwits) version 2.06 (2011-09-28) diff --git a/Info.pm b/Info.pm index 07f55d95..01a138f1 100644 --- a/Info.pm +++ b/Info.pm @@ -3447,7 +3447,7 @@ sub _load_attr { # Use BULKWALK if we can because its faster if ( $bulkwalk && @$vars == 0 ) { - ($vars) = $sess->bulkwalk( 0, $repeaters, $var ); + $vars = scalar $sess->bulkwalk( 0, $repeaters, $var ); if ( $sess->{ErrorNum} ) { $self->error_throw( "SNMP::Info::_load_atrr: BULKWALK " . $sess->{ErrorStr},