diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-09-06 15:11:44 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-09-06 15:11:44 +0200 |
commit | c77eb96925b719001237ca7c9e3cef40d795d66b (patch) | |
tree | 4a5eb74bf3b843f104763d257d77cb3055944b72 /resolv/nss_dns | |
parent | 5e9c4d17feb9910f489ad2915d0b6e00597a0f11 (diff) | |
download | glibc-c77eb96925b719001237ca7c9e3cef40d795d66b.tar.gz glibc-c77eb96925b719001237ca7c9e3cef40d795d66b.tar.xz glibc-c77eb96925b719001237ca7c9e3cef40d795d66b.zip |
nss_dns: Remove dead PTR IPv4-to-IPv6 mapping code
Diffstat (limited to 'resolv/nss_dns')
-rw-r--r-- | resolv/nss_dns/dns-host.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c index 7cd54ab504..1e85e4f08f 100644 --- a/resolv/nss_dns/dns-host.c +++ b/resolv/nss_dns/dns-host.c @@ -889,19 +889,6 @@ getanswer_r (struct resolv_context *ctx, /* bind would put multiple PTR records as aliases, but we don't do that. */ result->h_name = bp; - if (have_to_map) - { - n = strlen (bp) + 1; /* for the \0 */ - if (__glibc_unlikely (n >= MAXHOSTNAMELEN)) - { - ++had_error; - break; - } - bp += n; - linebuflen -= n; - if (map_v4v6_hostent (result, &bp, &linebuflen)) - goto too_small; - } *h_errnop = NETDB_SUCCESS; return NSS_STATUS_SUCCESS; case T_A: |