fix element name 'result' to 'results'

This commit is contained in:
cgagnaire 2017-10-25 17:44:13 +02:00 committed by GitHub
parent 533cb9df5c
commit e255488cac
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ sub manage_selection {
my $oid_fwConnNumber = '.1.3.6.1.4.1.1369.5.2.1.4.0';
$self->{results} = $self->{snmp}->get_leef(oids => [$oid_fwConnNumber],
nothing_quit => 1);
$self->{global} = { fwConnNumber => $self->{result}->{$oid_fwConnNumber} };
$self->{global} = { fwConnNumber => $self->{results}->{$oid_fwConnNumber} };
}
1;