Changeset 711
- Timestamp:
- 03/24/16 16:17:21 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r710 r711 5189 5189 my %args = @_; 5190 5190 5191 my $sql = "SELECT rdns_id,revnet,default_location FROM revzones WHERE revnet >>= ? OR revnet <<= ?".5191 my $sql = "SELECT rdns_id,revnet,default_location FROM revzones WHERE (revnet >>= ? OR revnet <<= ?)". 5192 5192 ($args{location} ? " AND default_location = ?" : ''); 5193 5193 my @svals = ($args{cidr}, $args{cidr});
Note:
See TracChangeset
for help on using the changeset viewer.