Modified set create_snmp_module to permit create remote_snmp_proc modules

This commit is contained in:
fermin831 2018-06-20 17:07:13 +02:00
parent ebfbc59055
commit 1ccd7d1fd7
1 changed files with 1 additions and 1 deletions

View File

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