diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-10-07 13:55:47 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-10-07 17:41:59 +0200 |
commit | 7ec47a85d865e7bc43358633a0f960921dbfc373 (patch) | |
tree | c3b6ff287b4c50c1aa5e3f7a2bd840548da01ca8 /resolv/gethnamaddr.c | |
parent | bfbd1de1590ae3f1a098d0166631d027f33565e9 (diff) | |
download | glibc-7ec47a85d865e7bc43358633a0f960921dbfc373.tar.gz glibc-7ec47a85d865e7bc43358633a0f960921dbfc373.tar.xz glibc-7ec47a85d865e7bc43358633a0f960921dbfc373.zip |
resolv: Remove RES_NOIP6DOTINT and its implementation
Diffstat (limited to 'resolv/gethnamaddr.c')
-rw-r--r-- | resolv/gethnamaddr.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/resolv/gethnamaddr.c b/resolv/gethnamaddr.c index 9ad2c3010a..1b81ca840e 100644 --- a/resolv/gethnamaddr.c +++ b/resolv/gethnamaddr.c @@ -642,12 +642,6 @@ gethostbyaddr (const void *addr, socklen_t len, int af) n = __libc_res_nquery(&_res, qbuf, C_IN, T_PTR, buf.buf->buf, 1024, &buf.ptr, NULL, NULL, NULL, NULL); - if (n < 0 && af == AF_INET6 && (_res.options & RES_NOIP6DOTINT) == 0) { - strcpy(qp, "ip6.int"); - n = __libc_res_nquery(&_res, qbuf, C_IN, T_PTR, buf.buf->buf, - buf.buf != orig_buf ? MAXPACKET : 1024, - &buf.ptr, NULL, NULL, NULL, NULL); - } if (n < 0) { if (buf.buf != orig_buf) free (buf.buf); |