Changeset 434


Ignore:
Timestamp:
07/19/10 16:57:56 (14 years ago)
Author:
Kris Deugau
Message:

/trunk

Trim out another bit of hardcodery: "Updated-By" field in rWHOIS
exports is now $IPDB::org_email. See #17.

Location:
trunk/cgi-bin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/IPDB.pm

    r432 r434  
    6767our $org_phone = '000-555-1234';
    6868our $org_techhandle = 'ISP-ARIN-HANDLE';
     69our $org_email = 'noc@example.com';
    6970
    7071our $syslog_facility = 'local2';
  • trunk/cgi-bin/MyIPDB.pm

    r432 r434  
    3939# note: following may also just be a bare email address
    4040#$IPDB::org_techhandle = 'ISP-ARIN-HANDLE';
     41#$IPDB::org_email = 'noc@example.com';
    4142
    4243# Logging destination.  Defaults to local2.  See your local syslog docs for valid facilities.
  • trunk/cgi-bin/extras/db2rwhois.pl

    r420 r434  
    202202        "Created: $ctime\n".
    203203        "Updated: $mtime\n".
    204         "Updated-By: noc\@example.com\n";
     204        "Updated-By: $IPDB::org_email\n";
    205205
    206206  # And now the subblocks
     
    270270        "Created: $ctime\n".
    271271        "Updated: $mtime\n".
    272         "Updated-By: noc\@example.com\n";
     272        "Updated-By: $IPDB::org_email\n";
    273273    } else {
    274274      $custsth->execute($custid);
     
    294294        "Created: $ctime\n".
    295295        "Updated: $mtime\n".
    296         "Updated-By: noc\@example.com\n";
     296        "Updated-By: $IPDB::org_email\n";
    297297    } # swip
    298298
Note: See TracChangeset for help on using the changeset viewer.