[svn] commit: r887 - /branches/each-ds/src/lib/auth/cpp/data_source.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Sat Feb 20 00:54:41 UTC 2010


Author: each
Date: Sat Feb 20 00:54:41 2010
New Revision: 887

Log:
- clean up XXX's
- oops: add additional data to additional, not authority

Modified:
    branches/each-ds/src/lib/auth/cpp/data_source.cc

Modified: branches/each-ds/src/lib/auth/cpp/data_source.cc
==============================================================================
--- branches/each-ds/src/lib/auth/cpp/data_source.cc (original)
+++ branches/each-ds/src/lib/auth/cpp/data_source.cc Sat Feb 20 00:54:41 2010
@@ -231,11 +231,6 @@
                  task.qtype == RRType::DS() || task.qtype == RRType::DNAME())) {
                 task.flags &= ~REFERRAL;
             }
-
-            // XXX: Don't follow CNAMEs when looking for an NSEC
-            if (task.flags & CNAME_FOUND && task.qtype == RRType::NSEC()) {
-                task.flags &= ~CNAME_FOUND;
-            }
         }
 
         if (result == SUCCESS && task.flags == 0) {
@@ -299,7 +294,7 @@
                     }
                     if (q.wantDnssec()) {
                         BOOST_FOREACH(RRsetPtr rrset, additional) {
-                            m.addRRset(Section::AUTHORITY(),
+                            m.addRRset(Section::ADDITIONAL(),
                                        rrset->getRRsig(), false);
                         }
                     }




More information about the bind10-changes mailing list