From 5de1f70e0d7730a4ece34c08bf8544955c99826e Mon Sep 17 00:00:00 2001 From: JINMEI Tatuya Date: Tue, 26 Jan 2010 23:42:24 +0000 Subject: [PATCH] be sure to set Rcode in responses git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@539 e5f2f494-b856-4b98-b285-d166d9295462 --- src/bin/parkinglot/parkinglot.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/parkinglot/parkinglot.cc b/src/bin/parkinglot/parkinglot.cc index 142cc031a4..910cc0abe3 100644 --- a/src/bin/parkinglot/parkinglot.cc +++ b/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);