Changeset 675
- Timestamp:
- 01/16/15 14:48:06 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns-rpc.cgi
r673 r675 84 84 'dnsdb.getRecCount' => \&getRecCount, 85 85 'dnsdb.addRec' => \&rpc_addRec, 86 'dnsdb.updateRec' => \& updateRec,86 'dnsdb.updateRec' => \&rpc_updateRec, 87 87 #sub downconvert { 88 88 'dnsdb.addOrUpdateRevRec' => \&addOrUpdateRevRec, … … 493 493 } # rpc_addRec 494 494 495 sub updateRec {495 sub rpc_updateRec { 496 496 my %args = @_; 497 497 … … 558 558 || $rec->{type} == 65282 || $rec->{type} == 65283 || $rec->{type} == 65284; 559 559 next unless $rec->{val} eq $filt; # make sure we really update the record we want to update. 560 updateRec(defrec =>'n', revrec => 'y', id => $rec->{record_id},560 rpc_updateRec(defrec =>'n', revrec => 'y', id => $rec->{record_id}, 561 561 parent_id => $zonelist->[0]->{rdns_id}, address => "$cidr", %args); 562 562 $flag = 1;
Note:
See TracChangeset
for help on using the changeset viewer.