Changeset 427


Ignore:
Timestamp:
07/08/10 18:04:35 (14 years ago)
Author:
Kris Deugau
Message:

/trunk

Trim reference to ViaNet IP ranges in help.html and search.cgi (see #26)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/search.cgi

    r417 r427  
    148148  if ($webvar{cidr} eq '') { # We has a blank CIDR.  Ignore it.
    149149  } elsif ($webvar{cidr} =~ /\//) {
    150     # 209.91.179/26 should show all /26 subnets in 209.91.179
     150    # 192.168.179/26 should show all /26 subnets in 192.168.179
    151151    my ($net,$maskbits) = split /\//, $webvar{cidr};
    152152    if ($webvar{cidr} =~ /^(\d{1,3}\.){3}\d{1,3}\/\d{2}$/) {
     
    340340    $query =~ s/\s+//g;
    341341    if ($query =~ /\//) {
    342       # 209.91.179/26 should show all /26 subnets in 209.91.179
     342      # 192.168.179/26 should show all /26 subnets in 192.168.179
    343343      my ($net,$maskbits) = split /\//, $query;
    344344      if ($query =~ /^(\d{1,3}\.){3}\d{1,3}\/\d{2}$/) {
  • trunk/help.html

    r413 r427  
    1414
    1515<tr class="color1">
    16 <td>IP blocks</td><td>209.91.128 or 209.</td>
     16<td>IP blocks</td><td>192.168.28 or 192.</td>
    1717<td>Lists all alloctions starting with that set of octets.  Note that matches on the
    1818first octet MUST include the period to be considered an IP search.</td>
    1919</tr>
    2020<tr class="color2">
    21 <td>CIDR blocks</td><td>209.92.128/30</br>or
    22 209.92.128.0/30</td><td>Lists all /30's beginning with 209.91.128 or checks for an
    23 exact match for 209.92.128.0/30 respectively</td>
     21<td>CIDR blocks</td><td>192.168.28/30</br>or
     22192.168.28.0/30</td><td>Lists all /30's beginning with 192.168.28 or checks for an
     23exact match for 192.168.28.0/30 respectively</td>
    2424</tr>
    2525<tr class="color1">
    26 <td>IP address</td><td>209.92.128.30</td><td>Finds the alloction that IP is a
     26<td>IP address</td><td>192.168.28.30</td><td>Finds the alloction that IP is a
    2727part of (if any)</td>
    2828</tr>
    2929<tr class="color2">
    30 <td>Customer ID:</td><td>705 or 6137328844 or 503101</td><td>Find all alloctions to that
    31 customer. Matches on prefix (area code, area code + exchange, etc).  Searches old as well as
    32 new CustIDs.
     30<td>Customer ID:</td><td>123456</td><td>Find all alloctions to that
     31customer.  Customer IDs are assumed to be numeric for this search.
    3332</td>
    3433</tr>
    3534<tr class="color1">
    36 <td>Description:</td><td>cable or efni</td><td>Find all allocations with the search term in
     35<td>Description:</td><td>cable or BigCustomer</td><td>Find all allocations with the search term in
    3736the description.  Note that searches for CustIDs with letters will fall under this category
    38 until CustIDs are all-numeric.</td>
     37unless CustIDs are all-numeric.</td>
    3938</tr>
    4039
Note: See TracChangeset for help on using the changeset viewer.