Browse Source

be sure to set Rcode in responses

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@539 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
5de1f70e0d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/bin/parkinglot/parkinglot.cc

+ 1 - 0
src/bin/parkinglot/parkinglot.cc

@@ -113,6 +113,7 @@ ParkingLot::processMessage() {
         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);