about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-24 14:16:40 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-24 14:16:40 +0000
commit8838786d31dcf24b0a28a3af09f4910ffa3bdbc0 (patch)
tree7e06ba54278a4fde3acc70c3c3f5e0dc8788a5f5 /sysdeps
parentab28d0d1cf2f09677231286f5a844c5f9ab0f26b (diff)
downloadglibc-8838786d31dcf24b0a28a3af09f4910ffa3bdbc0.tar.gz
glibc-8838786d31dcf24b0a28a3af09f4910ffa3bdbc0.tar.xz
glibc-8838786d31dcf24b0a28a3af09f4910ffa3bdbc0.zip
Update.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/posix/getaddrinfo.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index 7217e5de3e..f43aa03d1f 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -383,14 +383,6 @@ gaih_inet (const char *name, const struct gaih_service *service,
 
       memset (at->next, 0, sizeof(struct gaih_addrtuple));
       at->next->family = AF_INET;
-
-      if (!(req->ai_flags & AI_PASSIVE))
-	{
-	  /* RFC 2553 requires to set set the socket address structure
-	     to the loopback address in this case.  */
-	  memcpy (at->addr, &in6addr_loopback, sizeof (struct in6_addr));
-	  ((struct in_addr *)at->next->addr)->s_addr = htonl (INADDR_LOOPBACK);
-	}
     }
 
   if (pai == NULL)