Skip to content

Commit 52e64cb

Browse files
committed
Fixed DNS-A IP regex.
1 parent 49731b2 commit 52e64cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/dns/form/dns_a.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
101101
'errmsg'=> 'data_error_empty'),
102102
1 => array ( 'type' => 'REGEX',
103-
'regex' => '/^[0-9\.]{10,15}$/',
103+
'regex' => '/^[0-9\.]{7,15}$/',
104104
'errmsg'=> 'data_error_regex'),
105105
),
106106
'default' => '',

0 commit comments

Comments
 (0)