Do not init table cache if Cache provided by user
This commit is contained in:
@@ -5,6 +5,7 @@ version 3.32 ()
|
|||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|
||||||
* Support undefined (noSuchIntance) values in Offline mode
|
* Support undefined (noSuchIntance) values in Offline mode
|
||||||
|
* Do not init table cache if Cache provided by user
|
||||||
|
|
||||||
version 3.31 (2016-01-22)
|
version 3.31 (2016-01-22)
|
||||||
|
|
||||||
|
|||||||
5
Info.pm
5
Info.pm
@@ -1240,11 +1240,8 @@ sub new {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Table function store
|
|
||||||
my $store = {};
|
|
||||||
|
|
||||||
# Save Args for later
|
# Save Args for later
|
||||||
$new_obj->{store} = $store;
|
$new_obj->{store} ||= {};
|
||||||
$new_obj->{sess} = $sess;
|
$new_obj->{sess} = $sess;
|
||||||
$new_obj->{args} = \%args;
|
$new_obj->{args} = \%args;
|
||||||
$new_obj->{snmp_ver} = $args{Version} || 2;
|
$new_obj->{snmp_ver} = $args{Version} || 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user