Changeset 707 for trunk/cgi-bin/main.cgi


Ignore:
Timestamp:
02/27/15 18:17:24 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Add rDNS update call for splitBlock(). Requires dnsadmin:trunk/@r680
for new RPC sub splitTemplate. See #7.
IPDB::splitBlock() required a change in argument handling to make sure
all the necessary bits got through where needed for the RPC call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r706 r707  
    11721172    $page->param(issplit => 1);
    11731173    my $block = new NetAddr::IP $blockinfo->{block};
    1174     my $newblocks = splitBlock($ip_dbh, $webvar{block}, 'b', $webvar{split});
     1174    my $newblocks = splitBlock($ip_dbh, id => $webvar{block}, basetype => 'b', newmask => $webvar{split},
     1175        user => $authuser);
    11751176    if ($newblocks) {
    11761177      $page->param(newblocks => $newblocks);
Note: See TracChangeset for help on using the changeset viewer.