From: Jelte Jansen Date: Fri, 19 Aug 2011 09:00:50 +0000 (+0200) Subject: [1138] include and namespace X-Git-Tag: perftcpdns_before_epoll~37^2~17^2^2^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d3e78f0d8075ad62391ed005e1e82f79f05e2ca;p=thirdparty%2Fkea.git [1138] include and namespace --- diff --git a/src/lib/dns/rdata/in_1/dhcid_49.cc b/src/lib/dns/rdata/in_1/dhcid_49.cc index 3a34d50572..0a9a23c792 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 #include +#include #include #include #include @@ -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.