mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Modified set create_snmp_module to permit create remote_snmp_proc modules
This commit is contained in:
parent
ebfbc59055
commit
1ccd7d1fd7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user