From df4b66fbd58babbdde3b3d036abe1a7168651d8b Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 3 Aug 2017 13:51:56 +0200 Subject: [PATCH] fixed error cli version snmp --- pandora_server/lib/PandoraFMS/Core.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 7acb66ecd8..5c993d2bba 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -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'}); }