2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

be sure to set Rcode in responses

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@539 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
JINMEI Tatuya
2010-01-26 23:42:24 +00:00
parent bca8ede488
commit 5de1f70e0d

View File

@@ -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);