Change snmpv3 management parameters (PR #1392)

This commit is contained in:
garnier-quentin 2019-02-15 14:34:01 +01:00
parent 92beabecce
commit 52a6bfcd09
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ sub check_options {
} }
if (!defined($options{option_results}->{snmp_security_name})) { if (!defined($options{option_results}->{snmp_security_name}) || $options{option_results}->{snmp_security_name} eq '') {
$self->{output}->add_option_msg(short_msg => "Missing parameter Security Name."); $self->{output}->add_option_msg(short_msg => "Missing parameter Security Name.");
$self->{output}->option_exit(); $self->{output}->option_exit();
} }