BIND 10 jreed-host, updated. 158af09a0032d47503a9e52102bc495b8d5bba46 [jreed-host] add "descriptive text" for TXT
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Apr 20 17:35:08 UTC 2011
The branch, jreed-host has been updated
via 158af09a0032d47503a9e52102bc495b8d5bba46 (commit)
from e9f3843c953ce9a3e05c3dcc4b8df2a67a9d9e6d (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 158af09a0032d47503a9e52102bc495b8d5bba46
Author: Jeremy C. Reed <jreed at ISC.org>
Date: Wed Apr 20 12:34:51 2011 -0500
[jreed-host] add "descriptive text" for TXT
-----------------------------------------------------------------------
Summary of changes:
src/bin/host/host.cc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/host/host.cc b/src/bin/host/host.cc
index 38c77f5..1edb478 100644
--- a/src/bin/host/host.cc
+++ b/src/bin/host/host.cc
@@ -145,6 +145,9 @@ host_lookup(const char* const name, const char* const dns_class,
else if ((*it)->getType() == RRType::MX()) {
description = "mail is handled by";
}
+ else if ((*it)->getType() == RRType::TXT()) {
+ description = "descriptive text";
+ }
RdataIteratorPtr rit = (*it)->getRdataIterator();
for (; !rit->isLast(); rit->next()) {
More information about the bind10-changes
mailing list