Changeset 164 for branches


Ignore:
Timestamp:
02/10/05 13:17:59 (20 years ago)
Author:
Kris Deugau
Message:

/branches/stable

More bugs on pool allocations - this time the the statements to
dig up IPs that match the criteria (pool type and pool "location").

File:
1 edited

Legend:

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

    r163 r164  
    800800    if ($base =~ /^[ds]$/) {
    801801      $sql = "select * from poolips where available='y' and".
    802         " ptype='$base' and (city='Sudbury' or city='North Bay')";
     802        " type='$webvar{alloctype}' and (city='Sudbury' or city='North Bay')";
    803803    } else {
    804804      $sql = "select * from poolips where available='y' and".
    805         " ptype='$base' and city='$webvar{pop}'";
     805        " type='$webvar{alloctype}' and city='$webvar{pop}'";
    806806    }
    807807
Note: See TracChangeset for help on using the changeset viewer.