Commit ceb44cf5 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

added the verbose argument to AuthSrv::processMessage()


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1259 e5f2f494-b856-4b98-b285-d166d9295462
parent 5f2aaf0f
......@@ -440,7 +440,7 @@ processMessageUDP(const int fd, Message& dns_message,
if ((cc = recvfrom(fd, recvbuf, sizeof(recvbuf), 0, sa, &sa_len)) > 0) {
InputBuffer buffer(recvbuf, cc);
if (auth_server->processMessage(buffer, dns_message, response_renderer,
true) == 0) {
true, verbose_mode) == 0) {
sendto(fd, response_renderer.getData(),
response_renderer.getLength(), 0, sa, sa_len);
}
......@@ -486,7 +486,7 @@ processMessageTCP(const int fd, Message& dns_message,
dns_message.clear(Message::PARSE);
response_renderer.clear();
if (auth_server->processMessage(buffer, dns_message, response_renderer,
false) == 0) {
false, verbose_mode) == 0) {
size = response_renderer.getLength();
size_n = htons(size);
if (send(ts, &size_n, 2, 0) == 2) {
......
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