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


Ignore:
Timestamp:
10/28/04 14:14:03 (20 years ago)
Author:
Kris Deugau
Message:

/trunk

Fixed some logic errors with respect to allocating IP pools

File:
1 edited

Legend:

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

    r33 r37  
    874874          " a set of smaller netblocks or a single smaller netblock.";
    875875      } else {
    876         if ($webvar{alloctype} =~ /^[sd]p$/) {
     876        if ($webvar{alloctype} =~ /^[scdmw]p$/) {
    877877          if (($webvar{city} !~ /^(Sudbury|North Bay)$/) && ($webvar{alloctype} eq 'dp')) {
    878878            printAndExit("You must chose Sudbury or North Bay for DSL pools."); }
    879           if ($webvar{alloctype} eq 'sp') { $city = "Sudbury"; } else { $city = $webvar{city}; }
     879          $city = $webvar{city};
    880880          $failmsg = "No suitable free block found.<br>\nYou will have to route another".
    881881            " superblock <br>\nfrom one of the master blocks in Sudbury or chose a smaller".
Note: See TracChangeset for help on using the changeset viewer.