Changeset 589 for trunk/cgi-bin


Ignore:
Timestamp:
01/18/13 16:36:48 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Tweak and fiddle allocation delete stage 1 for rDNS. See #1.
Note the autosetting of the "Remove forward entry?" checkbox
needs to be reviewed and tweaked further, probably.

File:
1 edited

Legend:

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

    r588 r589  
    846846
    847847  $page->param(block => $blockdata->{block});
     848
     849  $page->param(rdns => $blockdata->{rdns});
     850
     851  # maybe need to apply more magic here?
     852  # most allocations we *do* want to autodelete the forward as well as reverse;  for a handful we don't.
     853  # -> all real blocks (nb: pool IPs need extra handling)
     854  # -> NOC/private-IP (how to ID?)
     855  # -> anything with a pattern matching $IPDB::domain?
     856  if ($blockdata->{type} !~ /^.i$/) {
     857    $page->param(autodel => 1);
     858  }
     859
    848860  $page->param(rdepth => $blockdata->{rdepth});
    849861  $page->param(disptype => $disp_alloctypes{$blockdata->{type}});
Note: See TracChangeset for help on using the changeset viewer.