]> granicus.if.org Git - pdns/commitdiff
Initialize d_place
authorAki Tuomi <cmouse@cmouse.fi>
Sun, 18 Oct 2015 17:14:21 +0000 (20:14 +0300)
committerAki Tuomi <cmouse@desteem.org>
Mon, 26 Oct 2015 10:28:03 +0000 (12:28 +0200)
Fixes CID#1325473

pdns/tkey.cc

index 18103f63fc27e852a886eb70d6cf4531f6648ff2..f31d6bc202cc27ff20e3ff3bd9b07079b0d0a244 100644 (file)
@@ -77,6 +77,7 @@ void PacketHandler::tkeyHandler(DNSPacket *p, DNSPacket *r) {
   rec.d_type = QType::TKEY;
   rec.d_class = QClass::ANY;
   rec.d_content = tkey_out;
+  rec.d_place = DNSResourceRecord::ANSWER;
 
   DNSResourceRecord rr(rec);
   rr.qclass = QClass::ANY;