[svn] commit: r227 - /branches/f2f200910/src/bin/parkinglot/main.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Oct 30 06:15:08 UTC 2009
Author: jinmei
Date: Fri Oct 30 06:15:07 2009
New Revision: 227
Log:
fixed rcode for the authors.bind response (nxdomain to noerror)
Modified:
branches/f2f200910/src/bin/parkinglot/main.cc
Modified: branches/f2f200910/src/bin/parkinglot/main.cc
==============================================================================
--- branches/f2f200910/src/bin/parkinglot/main.cc (original)
+++ branches/f2f200910/src/bin/parkinglot/main.cc Fri Oct 30 06:15:07 2009
@@ -125,9 +125,7 @@
msg.addRR(SECTION_AUTHORITY, RR(authors_name, RRClass::CH,
RRType::NS, TTL(0),
NS("authors.bind")));
- }
-
- if (zones.contains(name)) {
+ } else if (zones.contains(name)) {
msg.setRcode(Message::RCODE_NOERROR);
RRset* nsset = new RRset(query->getName(), RRClass::IN,
RRType::NS, TTL(3600));
More information about the bind10-changes
mailing list