aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2013-04-29 21:11:13 +0200
committerAndreas Jaeger <aj@suse.de>2013-04-29 21:11:13 +0200
commitf1a24198af04ad3d0ebc9dffde454beb19ed0804 (patch)
tree9506b01cf6e3eaeb567c875a26498179ef808e69 /resolv
parent9ce3b2cbd245abedc6cff147a1b91566e340edb1 (diff)
downloadglibc-f1a24198af04ad3d0ebc9dffde454beb19ed0804.tar
glibc-f1a24198af04ad3d0ebc9dffde454beb19ed0804.tar.gz
glibc-f1a24198af04ad3d0ebc9dffde454beb19ed0804.tar.bz2
glibc-f1a24198af04ad3d0ebc9dffde454beb19ed0804.zip
BZ#15085: Fix comments/strings for RES_NOCHECKNAME
[BZ #15085] * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented. * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as unimplemented.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_debug.c2
-rw-r--r--resolv/resolv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/resolv/res_debug.c b/resolv/res_debug.c
index c064d0ca48..c1d8c02603 100644
--- a/resolv/res_debug.c
+++ b/resolv/res_debug.c
@@ -585,7 +585,7 @@ p_option(u_long option) {
case RES_NOALIASES: return "noaliases";
case RES_USE_INET6: return "inet6";
case RES_ROTATE: return "rotate";
- case RES_NOCHECKNAME: return "no-check-names";
+ case RES_NOCHECKNAME: return "no-check-names(unimpl)";
case RES_KEEPTSIG: return "keeptsig(unimpl)";
case RES_BLAST: return "blast";
case RES_USEBSTRING: return "ip6-bytstring";
diff --git a/resolv/resolv.h b/resolv/resolv.h
index ed15a702bf..53c3bba182 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -207,7 +207,7 @@ struct res_sym {
#define RES_NOALIASES 0x00001000 /* shuts off HOSTALIASES feature */
#define RES_USE_INET6 0x00002000 /* use/map IPv6 in gethostbyname() */
#define RES_ROTATE 0x00004000 /* rotate ns list after each query */
-#define RES_NOCHECKNAME 0x00008000 /* do not check names for sanity. */
+#define RES_NOCHECKNAME 0x00008000 /* do not check names for sanity (!IMPL) */
#define RES_KEEPTSIG 0x00010000 /* do not strip TSIG records */
#define RES_BLAST 0x00020000 /* blast all recursive servers */
#define RES_USEBSTRING 0x00040000 /* IPv6 reverse lookup with byte