- Timestamp:
- 02/03/05 14:25:01 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sql-cleanup/cgi-bin/IPDB.pm
r149 r150 340 340 341 341 # And initialize the pool, if necessary 342 # PPPoE pools (currently dialup, DSL, and WiFi) get all IPs made available 343 # "DHCP" or "real-subnet" pools have the net, gw, and bcast IPs removed. 342 344 if ($type =~ /^.p$/) { 343 345 $msg = "Could not initialize IPs in new $disp_alloctypes{$type} $cidr"; 344 initPool($dbh,$cidr,$type,$city,($type eq 'dp' ? "all" : "normal")); 346 my ($code,$rmsg) = initPool($dbh,$cidr,$type,$city,"all"); 347 die $rmsg if $code eq 'FAIL'; 348 } elsif ($type =~ /^.d$/) { 349 $msg = "Could not initialize IPs in new $disp_alloctypes{$type} $cidr"; 350 my ($code,$rmsg) = initPool($dbh,$cidr,$type,$city,"normal"); 351 die $rmsg if $code eq 'FAIL'; 345 352 } 346 353
Note:
See TracChangeset
for help on using the changeset viewer.