BIND 10 trac1138, updated. 9d3e78f0d8075ad62391ed005e1e82f79f05e2ca [1138] include and namespace
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Aug 19 09:08:38 UTC 2011
The branch, trac1138 has been updated
via 9d3e78f0d8075ad62391ed005e1e82f79f05e2ca (commit)
from 36c6035855db0ae87a64a0d169e0230d936e3e64 (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 9d3e78f0d8075ad62391ed005e1e82f79f05e2ca
Author: Jelte Jansen <jelte at isc.org>
Date: Fri Aug 19 11:00:50 2011 +0200
[1138] include and namespace
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/rdata/in_1/dhcid_49.cc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/rdata/in_1/dhcid_49.cc b/src/lib/dns/rdata/in_1/dhcid_49.cc
index 3a34d50..0a9a23c 100644
--- a/src/lib/dns/rdata/in_1/dhcid_49.cc
+++ b/src/lib/dns/rdata/in_1/dhcid_49.cc
@@ -20,6 +20,7 @@
#include <exceptions/exceptions.h>
#include <util/buffer.h>
+#include <util/encode/hex.h>
#include <dns/exceptions.h>
#include <dns/messagerenderer.h>
#include <dns/rdata.h>
@@ -51,7 +52,7 @@ DHCID::DHCID(const string& dhcid_str) {
stringbuf digestbuf;
iss >> &digestbuf;
- decodeHex(digestbuf.str(), digest_);
+ isc::util::encode::decodeHex(digestbuf.str(), digest_);
// RFC4701 states DNS software should consider the RDATA section to
// be opaque, but there must be at least three bytes in the data:
@@ -111,7 +112,7 @@ DHCID::toWire(AbstractMessageRenderer& renderer) const {
/// \return A string representation of \c DHCID.
string
DHCID::toText() const {
- return (encodeHex(digest_));
+ return (isc::util::encode::encodeHex(digest_));
}
/// \brief Compare two instances of \c DHCID RDATA.
More information about the bind10-changes
mailing list