]> granicus.if.org Git - pdns/commitdiff
Copy d_tsig_algo from other
authorAki Tuomi <cmouse@desteem.org>
Tue, 29 Sep 2015 17:57:04 +0000 (20:57 +0300)
committerAki Tuomi <cmouse@desteem.org>
Sat, 3 Oct 2015 21:52:45 +0000 (00:52 +0300)
This is safe because d_tsig_algo is used only if tsig is present
fix cid#1302370

pdns/dnspacket.cc

index dbf6b239a7850f8f18849dccec95ff693e602936..ccf180e2b083fb4a08419e5fe1c47df402f65945 100644 (file)
@@ -118,6 +118,7 @@ DNSPacket::DNSPacket(const DNSPacket &orig)
   d_wrapped=orig.d_wrapped;
 
   d_rawpacket=orig.d_rawpacket;
+  d_tsig_algo=orig.d_tsig_algo;
   d=orig.d;
 }