fix element name 'result' to 'results'
This commit is contained in:
parent
533cb9df5c
commit
e255488cac
|
@ -160,7 +160,7 @@ sub manage_selection {
|
||||||
my $oid_fwConnNumber = '.1.3.6.1.4.1.1369.5.2.1.4.0';
|
my $oid_fwConnNumber = '.1.3.6.1.4.1.1369.5.2.1.4.0';
|
||||||
$self->{results} = $self->{snmp}->get_leef(oids => [$oid_fwConnNumber],
|
$self->{results} = $self->{snmp}->get_leef(oids => [$oid_fwConnNumber],
|
||||||
nothing_quit => 1);
|
nothing_quit => 1);
|
||||||
$self->{global} = { fwConnNumber => $self->{result}->{$oid_fwConnNumber} };
|
$self->{global} = { fwConnNumber => $self->{results}->{$oid_fwConnNumber} };
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
Loading…
Reference in New Issue