aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2013-04-29 21:00:57 +0200
committerAndreas Jaeger <aj@suse.de>2013-04-29 21:00:57 +0200
commitb1a36ceb3bb0c8de45fc2024e57529e02ee3adef (patch)
treef71f242b58740d30334d41dc9a8aea9b7bbbf458 /resolv
parent7e7b6f36a99c2a8eb2acbd01237ea9a5fd9f0433 (diff)
downloadglibc-b1a36ceb3bb0c8de45fc2024e57529e02ee3adef.zip
glibc-b1a36ceb3bb0c8de45fc2024e57529e02ee3adef.tar.gz
glibc-b1a36ceb3bb0c8de45fc2024e57529e02ee3adef.tar.bz2
BZ#15086: Fix res_debug printing of options
[BZ# 15086] * resolv/res_debug.c (p_option): Handle RES_NOALIASES, RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP, RES_SNGLKUPREOP.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_debug.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/resolv/res_debug.c b/resolv/res_debug.c
index 3daa44e..c064d0c 100644
--- a/resolv/res_debug.c
+++ b/resolv/res_debug.c
@@ -582,11 +582,17 @@ p_option(u_long option) {
case RES_DNSRCH: return "dnsrch";
case RES_INSECURE1: return "insecure1";
case RES_INSECURE2: return "insecure2";
+ 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_KEEPTSIG: return "keeptsig(unimpl)";
+ case RES_BLAST: return "blast";
case RES_USEBSTRING: return "ip6-bytstring";
+ case RES_NOIP6DOTINT: return "no-ip6-dotint";
case RES_USE_EDNS0: return "edns0";
+ case RES_SNGLKUP: return "single-request";
+ case RES_SNGLKUPREOP: return "single-request-reopen";
case RES_USE_DNSSEC: return "dnssec";
case RES_NOTLDQUERY: return "no-tld-query";
/* XXX nonreentrant */