This commit is contained in:
garnier-quentin 2020-12-04 10:06:24 +01:00
parent afc4af0d9d
commit 03a3cd44fa
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ sub manage_selection {
nothing_quit => 1 nothing_quit => 1
); );
$self->{global} = $options{snmp}->map_instance(mapping => $mapping, results => $snmp_result, instance => 0); $self->{global} = $options{snmp}->map_instance(mapping => $mapping, results => $snmp_result, instance => 0);
$self->{global}->{firmware_version} = 'n/a' if (!defined($self->{global}->{firmware_version}));
$self->{global}->{firmware_version_update} = 'n/a' if (!defined($self->{global}->{firmware_version_update}));
} }
1; 1;