Change snmpv3 management parameters (PR #1392)
This commit is contained in:
parent
92beabecce
commit
52a6bfcd09
|
@ -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}->option_exit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue