]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
following up to the OPT label compression fix, guarantee that no future optimisation...
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Tue, 19 Aug 2014 19:45:32 +0000 (21:45 +0200)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Tue, 19 Aug 2014 19:45:32 +0000 (21:45 +0200)
pdns/dnswriter.cc

index 8984e50bed6623cd17a2c5b7b936595bd7c9aeaf..227761dc2d5663117e3f1d7b5d9598d9b9a1da92 100644 (file)
@@ -96,7 +96,7 @@ void DNSPacketWriter::addOpt(int udpsize, int extRCode, int Z, const vector<pair
 
   ttl=ntohl(ttl); // will be reversed later on
   
-  startRecord("", ns_t_opt, ttl, udpsize, ADDITIONAL);
+  startRecord("", ns_t_opt, ttl, udpsize, ADDITIONAL, false);
   for(optvect_t::const_iterator iter = options.begin(); iter != options.end(); ++iter) {
     xfr16BitInt(iter->first);
     xfr16BitInt(iter->second.length());