Changeset 506 for branches/stable/cgi-bin/admin.cgi
- Timestamp:
- 11/15/11 17:20:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/admin.cgi
r445 r506 133 133 # OK, we know what we're allocating. 134 134 135 if ($webvar{cidr} !~ /^\s*(\d{1,3}\.){3}\d{1,3}(\/\d{2})?\s*$/) {136 printAndExit("Can't allocate something that's not a netblock/ip");137 }135 # if ($webvar{cidr} !~ /^\s*(\d{1,3}\.){3}\d{1,3}(\/\d{2})?\s*$/) { 136 # printAndExit("Can't allocate something that's not a netblock/ip"); 137 # } 138 138 139 139 $sth = $ip_dbh->prepare("select def_custid from alloctypes where type='$webvar{alloctype}'");
Note:
See TracChangeset
for help on using the changeset viewer.