Commit 7433c00e authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1539] fixed a small regression: unsupportedRequest now excludes update.

parent 2baf4624
......@@ -758,7 +758,7 @@ AuthSrvImpl::processNotify(const IOMessage& io_message, Message& message,
bool
AuthSrvImpl::processUpdate(const IOMessage& /*io_message*/,
Message& /*message*/,
Message& /*message*/,
OutputBuffer& /*buffer*/,
std::auto_ptr<TSIGContext> /*tsig_context*/)
{
......
......@@ -247,8 +247,8 @@ TEST_F(AuthSrvTest, iqueryViaDNSServer) {
// Unsupported requests. Should result in NOTIMP.
TEST_F(AuthSrvTest, unsupportedRequest) {
unsupportedRequest();
// unsupportedRequest tries 14 different opcodes
checkAllRcodeCountersZeroExcept(Rcode::NOTIMP(), 14);
// unsupportedRequest tries 13 different opcodes
checkAllRcodeCountersZeroExcept(Rcode::NOTIMP(), 13);
}
// Multiple questions. Should result in FORMERR.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment