- Timestamp:
- 04/10/12 14:50:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r298 r299 1673 1673 1674 1674 # quick check to start to see if we've already got one 1675 my ($rdns_id) = $dbh->selectrow_array("SELECT rdns_id FROM revzones WHERE rev zone=?", undef, ("$zone"));1675 my ($rdns_id) = $dbh->selectrow_array("SELECT rdns_id FROM revzones WHERE revnet=?", undef, ("$zone")); 1676 1676 1677 1677 return ('FAIL', "Zone already exists") if $rdns_id;
Note:
See TracChangeset
for help on using the changeset viewer.