aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/posix/getaddrinfo.c8
2 files changed, 0 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index f0940f06a5..537ebc26e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,3 @@
-1999-05-24 Ulrich Drepper <drepper@cygnus.com>
-
- * sysdeps/posix/getaddrinfo.c (gaih_inet): Set socket address to
- loopback if no name is given and AI_PASSIVE is not set.
- Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl> [PR libc/1136].
-
1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
* hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
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)