From 1ccd7d1fd7760e154d6682c58ce7e2b173da4d44 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Wed, 20 Jun 2018 17:07:13 +0200 Subject: [PATCH] Modified set create_snmp_module to permit create remote_snmp_proc modules --- pandora_console/include/functions_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index 6fc06a8751..7ae4e4f307 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -3384,7 +3384,7 @@ function api_set_create_snmp_module($id, $thrash1, $other, $thrash3) { return; } - if ($other['data'][2] < 15 or $other['data'][2] > 17) { + if ($other['data'][2] < 15 or $other['data'][2] > 18) { returnError('error_create_snmp_module', __('Error in creation SNMP module. Invalid id_module_type for a SNMP module.')); return; }