Changeset 73


Ignore:
Timestamp:
11/15/04 16:55:54 (20 years ago)
Author:
Kris Deugau
Message:

/trunk

Hack to allow manual allocation of specific static IPs by "editing"
that IP's allocation information. Ewww, but somewhat necessary. :/

File:
1 edited

Legend:

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

    r72 r73  
    12651265    my $sql;
    12661266    if (my $pooltype = ($webvar{alloctype} =~ /^([cdsmw])i$/) ) {
     1267      # Note the hack ( available='n' ) to work around "update" additions
     1268      # to static IP space.  Eww.
    12671269      $sql = "update poolips set custid='$webvar{custid}',".
    1268         "notes='$webvar{notes}',description='$webvar{desc}' ".
     1270        "notes='$webvar{notes}',description='$webvar{desc}',available='n' ".
    12691271        "where ip='$webvar{block}'";
    12701272    } else {
Note: See TracChangeset for help on using the changeset viewer.