]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
the confusing variable name of the year goes to: static bool mustShuffle =::arg...
authorBert Hubert <bert.hubert@netherlabs.nl>
Tue, 1 Feb 2011 20:34:39 +0000 (20:34 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Tue, 1 Feb 2011 20:34:39 +0000 (20:34 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1958 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dnspacket.cc

index 05202425ce21f2a07fa8f5cf6728a028f09ca442..f8a84ef63fd7a0ed5bc15a30fe9106b88a0c75f4 100644 (file)
@@ -238,9 +238,9 @@ void DNSPacket::wrapup()
   // we want a stable sort, based on the d_place field
 
   stable_sort(d_rrs.begin(),d_rrs.end(), rrcomp);
-  static bool mustShuffle =::arg().mustDo("no-shuffle");
+  static bool mustNotShuffle = ::arg().mustDo("no-shuffle");
 
-  if(!d_tcp && !mustShuffle) {
+  if(!d_tcp && !mustNotShuffle) {
     shuffle(d_rrs);
   }
   d_wrapped=true;