Ignore:
Timestamp:
01/22/08 16:11:01 (16 years ago)
Author:
Kris Deugau
Message:

/trunk

Merge bugfixes/updates from /branches/stable r317 through r379

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/extras/db2rwhois.pl

    r371 r380  
    4141my @masterblocks;
    4242my %netnameprefix;
    43 my %def_custids;
    4443
    4544# Get the list of live directories for potential deletion
     
    282281        "IP-Network: $net\n".
    283282        "IP-Network-Block: ".$net->range."\n".
    284         "Org-Name: $name\n".
    285         "Street-Address: $street\n".
    286         "City: $city\n".
    287         "StateProv: $prov\n".
    288         "Postal-Code: $pocode\n".
    289         "Country-Code: $country\n".
    290         "Tech-Contact: $tech\n".
     283        "Org-Name: ".($name ? $name : 'Friendly ISP')."\n".
     284        "Street-Address: ".($street ? $street : '123 4th Street')."\n".
     285        "City: ".($city ? $city : 'Anytown')."\n".
     286        "StateProv: ".($prov ? $prov : 'Ontario')."\n".
     287        "Postal-Code: ".($pocode ? $pocode : 'H0H 0H0')."\n".
     288        "Country-Code: ".($country ? $country : 'CA')."\n".
     289        "Tech-Contact: ".($tech ? $tech : 'ISP-ARIN-HANDLE')."\n".
    291290        "Created: $ctime\n".
    292291        "Updated: $mtime\n".
Note: See TracChangeset for help on using the changeset viewer.