]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
when we DO convert between DNSRecord and DNSResourceRecord, also convert d_place
authorbert hubert <bert.hubert@powerdns.com>
Sun, 27 Sep 2015 15:07:07 +0000 (17:07 +0200)
committerbert hubert <bert.hubert@powerdns.com>
Sun, 27 Sep 2015 15:07:07 +0000 (17:07 +0200)
pdns/dnsrecords.cc

index 479964fc153e407377faa6db33f9eac5a1f43857..489205227fbc0f8b77185b47b99680ccc7a0259b 100644 (file)
@@ -68,12 +68,11 @@ bool DNSResourceRecord::operator==(const DNSResourceRecord& rhs)
     tie(rhs.qname, rhs.qtype, rcontent, rhs.ttl);
 }
 
-
-
 DNSResourceRecord::DNSResourceRecord(const DNSRecord &p) {
   auth=true;
   disabled=false;
   qname = p.d_label;
+  d_place = (DNSResourceRecord::Place)p.d_place;
   // if(!qname.empty())
   //   boost::erase_tail(qname, 1); // strip .