Skip to content
Snippets Groups Projects
Commit 207169b1 authored by Florian Schaal's avatar Florian Schaal
Browse files

allow only ipv4 for Server IPv4 Mapping

parent 5e82da8c
No related branches found
No related tags found
1 merge request!287Master
......@@ -69,7 +69,7 @@ $form["tabs"]['server_ip_map'] = array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array (
0 => array ( 'type' => 'ISIP', 'errmsg'=> 'ip_error_wrong'),
0 => array ( 'type' => 'ISIPV4', 'errmsg'=> 'ip_error_wrong'),
1 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'destination_ip_empty'),
),
'default' => '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment