Changeset 588 for trunk/cgi-bin


Ignore:
Timestamp:
01/17/13 17:25:46 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Allocation update should be complete for DNS changes. See #1.

Location:
trunk/cgi-bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/IPDB.pm

    r587 r588  
    11181118  my @fieldlist;
    11191119  my @vallist;
    1120   foreach ('custid', 'city', 'description', 'notes', 'circuitid', 'privdata') {
     1120  foreach ('custid', 'city', 'description', 'notes', 'circuitid', 'privdata', 'rdns') {
    11211121    if ($args{$_}) {
    11221122      push @fieldlist, $_;
     
    11731173    return ('FAIL', $msg);
    11741174  }
    1175   return 0;
     1175
     1176  _rpc('addOrUpdateRevRec', cidr => $args{block}, name => $args{rdns}, rpcuser => $args{user});
     1177  return ('OK','OK');
    11761178} # end updateBlock()
    11771179
  • trunk/cgi-bin/main.cgi

    r586 r588  
    749749        swip            => $webvar{swip},
    750750        rdepth          => $webvar{rdepth},
     751        rdns            => $webvar{rdns},
     752        user            => $authuser,
    751753        );
    752754
     
    796798
    797799  $page->param(cidr => $webvar{block});
     800  $page->param(rdns => $webvar{rdns});
    798801  $page->param(city => $webvar{city});
    799802  $page->param(disptype => $disp_alloctypes{$webvar{alloctype}});
Note: See TracChangeset for help on using the changeset viewer.