[svn] commit: r539 - /branches/parkinglot/src/bin/parkinglot/parkinglot.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jan 26 23:42:25 UTC 2010


Author: jinmei
Date: Tue Jan 26 23:42:24 2010
New Revision: 539

Log:
be sure to set Rcode in responses

Modified:
    branches/parkinglot/src/bin/parkinglot/parkinglot.cc

Modified: branches/parkinglot/src/bin/parkinglot/parkinglot.cc
==============================================================================
--- branches/parkinglot/src/bin/parkinglot/parkinglot.cc (original)
+++ branches/parkinglot/src/bin/parkinglot/parkinglot.cc Tue Jan 26 23:42:24 2010
@@ -113,6 +113,7 @@
         RRType qtype = query->getType();
         SearchResult::status_type status;
         bool included_ns = false;
+        msg.setRcode(Rcode::NOERROR());
         if (data_source.hasZoneFor(query->getName(), zname)) {
             status = data_source.addToMessage(msg, Section::ANSWER(), zname,
                                               name, qclass, qtype);




More information about the bind10-changes mailing list