From ebbdff054ec7324b988e65eb409485a811f7a9d0 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sun, 27 Sep 2015 17:07:07 +0200 Subject: [PATCH] when we DO convert between DNSRecord and DNSResourceRecord, also convert d_place --- pdns/dnsrecords.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 . -- 2.47.2