diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 87c4bfe492..ad7544e4ff 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2013-07-25 Ramon Novoa + + * lib/PandoraFMS/NetworkServer.pm: Fixed some parentheses that prevented + remote_snmp_string modules from working. + 2013-07-24 Ramon Novoa * lib/PandoraFMS/Core.pm: Search for sub-strings when matching an OID diff --git a/pandora_server/lib/PandoraFMS/NetworkServer.pm b/pandora_server/lib/PandoraFMS/NetworkServer.pm index e789450904..6db48a27d4 100644 --- a/pandora_server/lib/PandoraFMS/NetworkServer.pm +++ b/pandora_server/lib/PandoraFMS/NetworkServer.pm @@ -197,7 +197,7 @@ next_pair: $handle->send($tcp_send); } # we expect to receive data ? (non proc types) - if ((defined ($tcp_rcv)) && (($tcp_rcv ne "") || ($id_tipo_modulo == 10) || ($id_tipo_modulo ==8) || ($id_tipo_modulo == 11))) { + if ((defined ($tcp_rcv) && $tcp_rcv ne "") || (($id_tipo_modulo == 10) || ($id_tipo_modulo ==8) || ($id_tipo_modulo == 11))) { # Receive data, non-blocking !!!! (VERY IMPORTANT!) $temp2 = ""; for ($tam=0; $tam<$timeout; $tam++){