From: Aki Tuomi Date: Tue, 29 Sep 2015 17:57:04 +0000 (+0300) Subject: Copy d_tsig_algo from other X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~12^2~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21711f6025b6eca1b64f59f34041bcc932d54c15;p=pdns Copy d_tsig_algo from other This is safe because d_tsig_algo is used only if tsig is present fix cid#1302370 --- diff --git a/pdns/dnspacket.cc b/pdns/dnspacket.cc index dbf6b239a..ccf180e2b 100644 --- a/pdns/dnspacket.cc +++ b/pdns/dnspacket.cc @@ -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; }