aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-04-07 13:01:21 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-04-07 13:01:21 +0200
commite4e794841e3140875f2aa86b90e2ada3d61e1244 (patch)
tree72084f8bd33ac24ae71d5b5d081519a08a673546 /resolv
parentbdc543e338281da051b3dc06eae96c330a485ce6 (diff)
downloadglibc-e4e794841e3140875f2aa86b90e2ada3d61e1244.zip
glibc-e4e794841e3140875f2aa86b90e2ada3d61e1244.tar.gz
glibc-e4e794841e3140875f2aa86b90e2ada3d61e1244.tar.bz2
resolv: Remove IQUERY support
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_mkquery.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/resolv/res_mkquery.c b/resolv/res_mkquery.c
index d80b531..4532b58 100644
--- a/resolv/res_mkquery.c
+++ b/resolv/res_mkquery.c
@@ -188,24 +188,6 @@ res_nmkquery(res_state statp,
hp->arcount = htons(1);
break;
- case IQUERY:
- /*
- * Initialize answer section
- */
- if (__glibc_unlikely (buflen < 1 + RRFIXEDSZ + datalen))
- return (-1);
- *cp++ = '\0'; /* no domain name */
- NS_PUT16 (type, cp);
- NS_PUT16 (class, cp);
- NS_PUT32 (0, cp);
- NS_PUT16 (datalen, cp);
- if (datalen) {
- memcpy(cp, data, datalen);
- cp += datalen;
- }
- hp->ancount = htons(1);
- break;
-
default:
return (-1);
}