Changeset 80


Ignore:
Timestamp:
11/26/04 12:50:01 (20 years ago)
Author:
Kris Deugau
Message:

/trunk

Further tweaked allocateBlock()'s calls to initPool() to special-case DSL pools
This should eventually be pulled out to the "client"/caller of allocateBlock()

File:
1 edited

Legend:

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

    r79 r80  
    204204          if ($type =~ /^.p$/) {
    205205            $msg = "Could not initialize IPs in new $disp_alloctypes{$type} pool $cidr";
    206             initPool($dbh,$cidr,$type,$city,0);
     206            initPool($dbh,$cidr,$type,$city,($type eq 'dp' ? "all" : "normal"));
    207207          }
    208208
     
    283283          if ($type =~ /^.p$/) {
    284284            $msg = "Could not initialize IPs in new $disp_alloctypes{$type} $cidr";
    285             initPool($dbh,$cidr,$type,$city,0);
     285            initPool($dbh,$cidr,$type,$city,($type eq 'dp' ? "all" : "normal"));
    286286          }
    287287
Note: See TracChangeset for help on using the changeset viewer.