Merge branch '1166-Error_al_crear_modulos_snmp_v2c_a_traves_del_CLI' into 'develop'
fixed error cli version snmp See merge request !709
This commit is contained in:
commit
90644f1805
|
@ -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