Changeset 612
- Timestamp:
- 04/22/14 17:32:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r611 r612 507 507 # ${$args{val}} is either a valid IP or a string ending with the .arpa zone name; 508 508 # now check if it's a well-formed FQDN 509 return ('FAIL', $errstr) if ! _check_hostname_form($args{val}, $ $rectype, $defrec, $revrec)510 if${$args{val}} =~ /\.arpa$/;509 return ('FAIL', $errstr) if ! _check_hostname_form($args{val}, ${$args{rectype}}, $args{defrec}, $args{revrec}) && 510 ${$args{val}} =~ /\.arpa$/; 511 511 512 512 # Check IP is well-formed, and that it's a v4 address
Note:
See TracChangeset
for help on using the changeset viewer.