Changeset 455
- Timestamp:
- 01/16/13 18:01:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r452 r455 3936 3936 3937 3937 my ($revpatt) = $dbh->selectrow_array("SELECT r.host FROM records r JOIN revzones z ON r.rdns_id=z.rdns_id ". 3938 "WHERE r.type=65282 OR r.type=65283AND z.group_id=? AND CAST (r.val AS inet) >>= ? ".3938 "WHERE (r.type=65282 OR r.type=65283) AND z.group_id=? AND CAST (r.val AS inet) >>= ? ". 3939 3939 "ORDER BY CAST (r.val AS inet) DESC LIMIT 1", undef, ($group, $cidr) ); 3940 3940 return $revpatt;
Note:
See TracChangeset
for help on using the changeset viewer.