Changeset 544 for trunk/cgi-bin/IPDB.pm
- Timestamp:
- 11/05/12 16:53:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r541 r544 549 549 ##fixme: chain cities to align roughly with a full layer-2 node graph 550 550 $city = $pop if $type !~ /^.[pc]$/; 551 if ($type ne 'rm' ) {551 if ($type ne 'rm' && $city) { 552 552 $sql .= " AND city = ?"; 553 553 push @vallist, $city; 554 } 555 # Allow specifying an arbitrary full block, instead of a master 556 if ($optargs{gimme}) { 557 $sql .= " AND cidr >>= ?"; 558 push @vallist, $optargs{gimme}; 554 559 } 555 560 # if a specific master was requested, allow the requestor to self->shoot(foot)
Note:
See TracChangeset
for help on using the changeset viewer.