Ignore:
Timestamp:
12/22/04 16:25:59 (19 years ago)
Author:
Kris Deugau
Message:

/trunk

IPDB rewrite, first stable iteration.

-> uses allocateBlock(), deleteBlock() from IPDB module rather

than hardcoding that in the web script

-> uses global variables from IPDB module for "static" data such

as allocation types and ities (which are loaded from the
database in much the same way that master blocks have been loaded)

-> IPDB.pm contains NO locally-exiting code, nor calls to any code

which exits before returning. This allows returning status codes
to the caller, so that things like database handles can be
properly cleaned up.

There are probably also a long list of minor bugfixes that I've forgotten.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/consistency-check.pl

    r95 r106  
    1111
    1212use DBI;
    13 use IPDB qw(:ALL);
     13use IPDB 2.0 qw(:ALL);
    1414use NetAddr::IP;
    1515
    16 $dbh = connectDB;
     16($dbh,$errstr) = connectDB("ipdb", "ipdb", "ipdbpwd");
    1717
    1818# Schlep up the masters
Note: See TracChangeset for help on using the changeset viewer.