Ignore:
Timestamp:
07/15/05 16:39:54 (19 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Tweak "new assignment" defaults to avoid private networks if
a "master" is not chosen. Automatic assignment can still pick
a private block if the appropriate option is checked.

File:
1 edited

Legend:

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

    r265 r266  
    895895        } else {
    896896          $sql = "select * from freeblocks where maskbits<=$webvar{maskbits} and routed='n'".
     897                ($webvar{allowpriv} eq 'on' ? '' :
     898                " and not (cidr <<= '192.168.0.0/16'".
     899                        " or cidr <<= '10.0.0.0/8'".
     900                        " or cidr <<= '172.16.0.0/12')").
    897901                " order by maskbits desc";
    898902        }
Note: See TracChangeset for help on using the changeset viewer.