Changeset 654


Ignore:
Timestamp:
08/05/14 17:05:48 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix subtle bug in AAAA+PTR export induced by shuffling host/val swapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r653 r654  
    60986098    # print both;  a dangling record is harmless, and impossible via web
    60996099    # UI anyway
    6100     $self->_printrec_tiny($datafile,$revrec,$recflags,$zone,$host,28,$val,$dist,$weight,$port,$ttl,$loc,$stamp);
    6101     $self->_printrec_tiny($datafile,$revrec,$recflags,$zone,$host,12,$val,$dist,$weight,$port,$ttl,$loc,$stamp);
     6100    $self->_printrec_tiny($datafile,$recid,'n',$recflags, $self->domainName($self->_hostparent($host)),
     6101        $host, 28, $val, $dist, $weight, $port, $ttl, $loc, $stamp);
     6102    $self->_printrec_tiny($datafile, $recid, 'y', $recflags, $zone,
     6103        $host, 12, $val, $dist, $weight, $port, $ttl, $loc, $stamp);
     6104
    61026105##fixme: add a config flag to indicate use of the patch from http://www.fefe.de/dns/
    61036106# type 6 is for AAAA+PTR, type 3 is for AAAA
Note: See TracChangeset for help on using the changeset viewer.