about summary refs log tree commit diff
path: root/inet/getnameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getnameinfo.c')
-rw-r--r--inet/getnameinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c
index 2a6e01f505..0811f2775f 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),