Changeset 563
- Timestamp:
- 12/19/12 16:21:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r562 r563 507 507 my $pool = shift; 508 508 509 my $sth = $dbh->prepare("SELECT ip,custid,available,description,type ".509 my $sth = $dbh->prepare("SELECT ip,custid,available,description,type,rdepth". 510 510 " FROM poolips WHERE pool = ? ORDER BY ip"); 511 511 $sth->execute($pool); 512 512 my @poolips; 513 while (my ($ip,$custid,$available,$desc,$type ) = $sth->fetchrow_array) {513 while (my ($ip,$custid,$available,$desc,$type,$rdepth) = $sth->fetchrow_array) { 514 514 my %row = ( 515 515 ip => $ip, … … 517 517 available => $available, 518 518 desc => $desc, 519 delme => $available eq 'n' 519 delme => $available eq 'n', 520 ipdepth => $rdepth, 520 521 ); 521 522 push @poolips, \%row;
Note:
See TracChangeset
for help on using the changeset viewer.