fixed error cli version snmp
This commit is contained in:
parent
5860d29e37
commit
df4b66fbd5
|
@ -2759,7 +2759,7 @@ sub pandora_create_module_from_hash ($$$) {
|
|||
|
||||
# Encrypt SNMP v3 passwords.
|
||||
if ($parameters->{'id_tipo_modulo'} >= 15 && $parameters->{'id_tipo_modulo'} <= 18 &&
|
||||
$parameters->{'tcp_send'} == 3) {
|
||||
$parameters->{'tcp_send'} eq '3') {
|
||||
$parameters->{'custom_string_2'} = pandora_input_password($pa_config, $parameters->{'custom_string_2'});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue