Ignore:
Timestamp:
05/15/13 18:03:32 (12 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Hand-backport static IP assign-by-browse. As with assign-routed-by-browse
in r595, this could not be merged from /trunk directly due to intermingled
changes for the new database structure and will cause merge conflicts
later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/cgi-bin/main.cgi

    r595 r596  
    323323    if ($webvar{fbtype} eq 'i') {
    324324      my $ipinfo = getBlockData($ip_dbh, $webvar{block}, 'i');
    325       my $pinfo = getBlockData($ip_dbh, $webvar{parent});
     325##fixme:  a reversion!  kill it!
     326my ($iptype,$pool) = $ip_dbh->selectrow_array("SELECT type,pool FROM poolips WHERE ip = ?", undef, ($block));
    326327      $page->param(
    327328        fbip => 1,
     
    329330        fbdisptype => $list_alloctypes{$ipinfo->{type}},
    330331        type => $ipinfo->{type},
    331         allocfrom => $pinfo->{block},
     332        allocfrom => $pool,
    332333        );
    333334    } elsif ($webvar{fbtype} eq 'n') {
Note: See TracChangeset for help on using the changeset viewer.