BIND 10 trac3160, updated. 9aab75069ff6a3dfe3bbbabf64e5a335c2e219aa [3160] Log text representation of the Message
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Sep 13 05:23:33 UTC 2013
The branch, trac3160 has been updated
via 9aab75069ff6a3dfe3bbbabf64e5a335c2e219aa (commit)
from 59f4f6de6c33e35963613bc6526df320791918de (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9aab75069ff6a3dfe3bbbabf64e5a335c2e219aa
Author: Mukund Sivaraman <muks at isc.org>
Date: Fri Sep 13 10:53:02 2013 +0530
[3160] Log text representation of the Message
This is to workaround a compiler issue between SunStudio and
boost::lexical_cast, which tries to construct a copy of the passed arg.
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/auth_srv.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc
index 5786588..6ea1e81 100644
--- a/src/bin/auth/auth_srv.cc
+++ b/src/bin/auth/auth_srv.cc
@@ -449,7 +449,7 @@ makeErrorMessage(MessageRenderer& renderer, Message& message,
message.toWire(renderer);
}
LOG_DEBUG(auth_logger, DBG_AUTH_MESSAGES, AUTH_SEND_ERROR_RESPONSE)
- .arg(renderer.getLength()).arg(message);
+ .arg(renderer.getLength()).arg(message.toText());
}
}
@@ -535,7 +535,7 @@ AuthSrv::processMessage(const IOMessage& io_message, Message& message,
} // other exceptions will be handled at a higher layer.
LOG_DEBUG(auth_logger, DBG_AUTH_MESSAGES, AUTH_PACKET_RECEIVED)
- .arg(message);
+ .arg(message.toText());
// Perform further protocol-level validation.
// TSIG first
@@ -680,7 +680,7 @@ AuthSrvImpl::processNormalQuery(const IOMessage& io_message,
message.toWire(renderer_);
}
LOG_DEBUG(auth_logger, DBG_AUTH_MESSAGES, AUTH_SEND_NORMAL_RESPONSE)
- .arg(renderer_.getLength()).arg(message);
+ .arg(renderer_.getLength()).arg(message.toText());
return (true);
// The message can contain some data from the locked resource. But outside
// this method, we touch only the RCode of it, so it should be safe.
More information about the bind10-changes
mailing list