- Timestamp:
- 09/13/19 16:50:31 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r787 r789 1314 1314 # work here since we don't *know* which parent to put it in. 1315 1315 # ${$args{val}} has been validated as a valid IP by now, in one of the above calls. 1316 my ($revid) = $dbh->selectrow_array("SELECT rdns_id FROM revzones WHERE revnet >> ?".1316 my ($revid) = $dbh->selectrow_array("SELECT rdns_id FROM revzones WHERE revnet >>= ?". 1317 1317 " ORDER BY masklen(revnet) DESC", undef, (${$args{val}})); 1318 1318 # Fail if no match; we can't coerce a PTR-template type down to not include the PTR bit currently.
Note:
See TracChangeset
for help on using the changeset viewer.