Commit 207169b1 authored by Florian Schaal's avatar Florian Schaal

allow only ipv4 for Server IPv4 Mapping

parent 5e82da8c
......@@ -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' => '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment