about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--resolv/netdb.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 23b6bc1ef1..f7a68e7f5b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
+
+	* resolv/netdb.h (AI_NUMERICHOST): Change to 4.
+	Reported by Craig Metz <cmetz@inner.net> .
+
 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
 	* stdio-common/Makefile (tests): tllformat added.
diff --git a/resolv/netdb.h b/resolv/netdb.h
index 299d695eaa..5ad1df2c21 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it
@@ -398,7 +398,7 @@ struct addrinfo
 /* Possible values for `ai_flags' field in `addrinfo' structure.  */
 # define AI_PASSIVE	1	/* Socket address is intended for `bind'.  */
 # define AI_CANONNAME	2	/* Request for canonical name.  */
-# define AI_NUMERICHOST	3	/* Don't use name resolution.  */
+# define AI_NUMERICHOST	4	/* Don't use name resolution.  */
 
 /* Error values for `getaddrinfo' function.  */
 # define EAI_BADFLAGS	-1	/* Invalid value for `ai_flags' field.  */