aboutsummaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/getnameinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c
index 2a6e01f..0811f27 100644
--- a/inet/getnameinfo.c
+++ b/inet/getnameinfo.c
@@ -134,7 +134,7 @@ nrl_domainname (void)
{
struct in_addr in_addr;
- in_addr.s_addr = htonl (0x7f000001);
+ in_addr.s_addr = htonl (INADDR_LOOPBACK);
while (__gethostbyaddr_r ((const char *) &in_addr,
sizeof (struct in_addr),