Changeset 906


Ignore:
Timestamp:
08/11/25 17:03:27 (3 hours ago)
Author:
Kris Deugau
Message:

/trunk

Ad hoc patches from workspace: Call core getRecList() with "offset all" in
RPC delByCIDR() to ensure we really find all of the records we might need
to delete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns-rpc.cgi

    r905 r906  
    16951695                     ($cidr->masklen != 32 ? "$cidr" : $cidr->addr) );
    16961696        my $reclist = $dnsdb->getRecList(rpc => 1, defrec => 'n', revrec => 'y', location => $args{location},
    1697           id => $zonelist->[0]->{rdns_id}, filter => $filt, sortby => 'val', sortorder => 'DESC');
     1697          id => $zonelist->[0]->{rdns_id}, filter => $filt, sortby => 'val', sortorder => 'DESC', offset => 'all');
    16981698        foreach my $rec (@$reclist) {
    16991699          my $reccidr = new NetAddr::IP $rec->{val};
Note: See TracChangeset for help on using the changeset viewer.