Changeset 471


Ignore:
Timestamp:
03/12/13 16:33:59 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Object conversion of DNSDB.pm, 7 of <mumble>. See #11.

  • internal calls to _ipparent and _hostparent
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r470 r471  
    21172117        }
    21182118        my $addr;
    2119         if (_ipparent($dbh, 'n', 'y', \$tmpval, $rdns_id, \$addr)) {
     2119        if ($self->_ipparent('n', 'y', \$tmpval, $rdns_id, \$addr)) {
    21202120          $val = $addr->addr;
    21212121        } else {
     
    21332133      my $domid = 0;
    21342134      if ($type >= 65280) {
    2135         if (!($domid = _hostparent($dbh, $host))) {
     2135        if (!($domid = $self->_hostparent($host))) {
    21362136          $warnstr .= "\nRecord added as PTR instead of $typemap{$type};  domain not found for $host";
    21372137          $type = $reverse_typemap{PTR};
     
    21662166
    21672167      my $domid = 0;
    2168       if (!($domid = _hostparent($dbh, $host))) {
     2168      if (!($domid = $self->_hostparent($host))) {
    21692169        $warnstr .= "\nDefault pattern added as PTR template instead of $typemap{$type};  domain not found for $host";
    21702170        $type = 65282;
Note: See TracChangeset for help on using the changeset viewer.