Changeset 615
- Timestamp:
- 04/22/14 18:03:57 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r614 r615 3814 3814 " WHERE "._recparent($defrec,$revrec)."=? ". 3815 3815 "AND NOT type=$reverse_typemap{SOA}"; 3816 if ($ args{filter}) {3816 if ($filter) { 3817 3817 $sql .= " AND (r.host ~* ? OR r.val ~* ? OR r.host ~* ? OR r.val ~* ?)"; 3818 my $tmp = join('.',reverse(split(/\./,$ args{filter})));3818 my $tmp = join('.',reverse(split(/\./,$filter))); 3819 3819 push @bindvars, ($tmp, $tmp); 3820 3820 }
Note:
See TracChangeset
for help on using the changeset viewer.