Ignore:
Timestamp:
12/11/13 15:45:18 (10 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Merge reverse DNS work and object conversion from /trunk, 4 of mumble

Includes changes through r492 with a few minor conflicts.

Location:
branches/stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable

  • branches/stable/vega-import.pl

    r545 r547  
    2929use Data::Dumper;
    3030
    31 use DNSDB qw(:ALL);
    32 
    33 if (!loadConfig()) {
    34   warn "Using default configuration;  unable to load custom settings: $DNSDB::errstr";
    35 }
     31use DNSDB;
     32
     33my $dnsdb = new DNSDB;
    3634
    3735my $mode = 'add';
     
    4543$mode = $ARGV[0] if $ARGV[0];
    4644
    47 my ($newdbh,$msg) = connectDB($config{dbname}, $config{dbuser}, $config{dbpass}, $config{dbhost});
     45my $newdbh = $dnsdb->{dbh};
    4846$newdbh->{PrintError} = 1;
    4947$newdbh->{PrintWarn} = 1;
    50 initGlobals($newdbh);
    5148
    5249my %vegatypes = ('S' => 'SOA', 'N' => 'NS', 'A' => 'A', 'T' => 'TXT',
Note: See TracChangeset for help on using the changeset viewer.