fixed error cli version snmp

This commit is contained in:
daniel 2017-08-03 13:51:56 +02:00
parent 7d578093d9
commit 55ed4ec840
1 changed files with 1 additions and 1 deletions

View File

@ -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'});
}