Changeset 684
- Timestamp:
- 06/17/15 15:15:40 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns-rpc.cgi
r683 r684 93 93 'dnsdb.delRec' => \&delRec, 94 94 'dnsdb.delByCIDR' => \&delByCIDR, 95 'dnsdb.delRevSet' => \&delRevSet, 95 96 #sub getLogCount {} 96 97 #sub getLogEntries {} … … 946 947 } # end delByCIDR() 947 948 949 # Batch-delete a set of reverse entries similar to updateRevSet 950 sub delRevSet { 951 my %args = @_; 952 953 _commoncheck(\%args, 'y'); 954 955 my @ret; 956 # loop over passed CIDRs in args{cidrlist} 957 foreach my $cidr (split(',', $args{cidrlist})) { 958 push @ret, delByCIDR(cidr => $cidr, %args) 959 } 960 961 return \@ret; 962 } # end delRevSet() 963 948 964 #sub getLogCount {} 949 965 #sub getLogEntries {}
Note:
See TracChangeset
for help on using the changeset viewer.