Changeset 206 for branches


Ignore:
Timestamp:
03/22/05 12:15:10 (20 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Add Toronto to list of cities DSL pools can be in.

File:
1 edited

Legend:

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

    r205 r206  
    829829    if ($base =~ /^[ds]$/) {
    830830      $sql = "select * from poolips where available='y' and".
    831         " type='$webvar{alloctype}' and (city='Sudbury' or city='North Bay')";
     831        " type='$webvar{alloctype}' and (city='Sudbury' or city='North Bay' or city='Toronto')";
    832832    } else {
    833833      $sql = "select * from poolips where available='y' and".
     
    883883        # This includes WAN blocks and other netblock "containers"
    884884        if ($webvar{alloctype} =~ /^.[pdc]$/) {
    885           if (($webvar{city} !~ /^(Sudbury|North Bay)$/) && ($webvar{alloctype} eq 'dp')) {
    886             printError("You must chose Sudbury or North Bay for DSL pools.");
     885          if (($webvar{city} !~ /^(Sudbury|North Bay|Toronto)$/) && ($webvar{alloctype} eq 'dp')) {
     886            printError("You must chose Sudbury, North Bay, or Toronto for DSL pools.");
    887887            return;
    888888          }
Note: See TracChangeset for help on using the changeset viewer.