From: bert hubert Date: Sun, 27 Sep 2015 15:07:07 +0000 (+0200) Subject: when we DO convert between DNSRecord and DNSResourceRecord, also convert d_place X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~28^2~27^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebbdff054ec7324b988e65eb409485a811f7a9d0;p=thirdparty%2Fpdns.git when we DO convert between DNSRecord and DNSResourceRecord, also convert d_place --- diff --git a/pdns/dnsrecords.cc b/pdns/dnsrecords.cc index 479964fc15..489205227f 100644 --- a/pdns/dnsrecords.cc +++ b/pdns/dnsrecords.cc @@ -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 .