Changeset 427 for trunk/cgi-bin
- Timestamp:
- 07/08/10 18:04:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/search.cgi
r417 r427 148 148 if ($webvar{cidr} eq '') { # We has a blank CIDR. Ignore it. 149 149 } elsif ($webvar{cidr} =~ /\//) { 150 # 209.91.179/26 should show all /26 subnets in 209.91.179150 # 192.168.179/26 should show all /26 subnets in 192.168.179 151 151 my ($net,$maskbits) = split /\//, $webvar{cidr}; 152 152 if ($webvar{cidr} =~ /^(\d{1,3}\.){3}\d{1,3}\/\d{2}$/) { … … 340 340 $query =~ s/\s+//g; 341 341 if ($query =~ /\//) { 342 # 209.91.179/26 should show all /26 subnets in 209.91.179342 # 192.168.179/26 should show all /26 subnets in 192.168.179 343 343 my ($net,$maskbits) = split /\//, $query; 344 344 if ($query =~ /^(\d{1,3}\.){3}\d{1,3}\/\d{2}$/) {
Note:
See TracChangeset
for help on using the changeset viewer.