Changeset 613 for trunk/DNSDB.pm


Ignore:
Timestamp:
04/22/14 17:48:17 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix rather more subtle bug in code fragment move from r611.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r612 r613  
    507507    # ${$args{val}} is either a valid IP or a string ending with the .arpa zone name;
    508508    # now check if it's a well-formed FQDN
    509     return ('FAIL', $errstr) if ! _check_hostname_form($args{val}, ${$args{rectype}}, $args{defrec}, $args{revrec}) &&
     509    return ('FAIL', $errstr) if ! _check_hostname_form(${$args{val}}, ${$args{rectype}}, $args{defrec}, $args{revrec}) &&
    510510        ${$args{val}} =~ /\.arpa$/;
    511511
Note: See TracChangeset for help on using the changeset viewer.