Changeset 869
- Timestamp:
- 05/04/16 17:24:08 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/ipdb-rpc.cgi
r866 r869 208 208 $args{include_desc} = 0 if !$args{include_desc}; 209 209 210 my $pid; 210 211 # convert passed pool from CIDR to an ID, maybe 211 212 if ($args{pool} !~ /^\d+$/) { … … 214 215 ($pid) = $ip_dbh->selectrow_array("SELECT a.id FROM allocations a JOIN allocations m ON a.master_id=m.id". 215 216 " WHERE a.cidr = ? AND m.vrf = ?", undef, $args{pool}, $args{vrf}); 217 } else { 218 $pid = $args{pool}; 216 219 } 217 220
Note:
See TracChangeset
for help on using the changeset viewer.