summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-01-25 06:23:25 +0000
committerKen Raeburn <raeburn@mit.edu>2006-01-25 06:23:25 +0000
commit11707e4f87eddb84267e88588aee48cbaf7b44bb (patch)
tree9f8fb443d9b07b7af2b907956a362add2c1a48d1 /src/util
parent58e2e98200ca8d8f9a9cff9758e11fd860c0046c (diff)
downloadkrb5-11707e4f87eddb84267e88588aee48cbaf7b44bb.tar.gz
krb5-11707e4f87eddb84267e88588aee48cbaf7b44bb.tar.xz
krb5-11707e4f87eddb84267e88588aee48cbaf7b44bb.zip
* fake-addrinfo.c (krb5int_in6addr_any): Always define
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17608 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
-rw-r--r--src/util/support/ChangeLog2
-rw-r--r--src/util/support/fake-addrinfo.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/src/util/support/ChangeLog b/src/util/support/ChangeLog
index d40ec99cd2..7bdcc32b18 100644
--- a/src/util/support/ChangeLog
+++ b/src/util/support/ChangeLog
@@ -7,6 +7,8 @@
Always define, even if not doing anything.
* libkrb5support.exports: Export the new functions.
+ * fake-addrinfo.c (krb5int_in6addr_any): Always define.
+
2005-09-09 Ken Raeburn <raeburn@mit.edu>
* fake_addrinfo.c (getaddrinfo): Conditionalize last change on
diff --git a/src/util/support/fake-addrinfo.c b/src/util/support/fake-addrinfo.c
index 6d534703d6..922dc8d9b1 100644
--- a/src/util/support/fake-addrinfo.c
+++ b/src/util/support/fake-addrinfo.c
@@ -1309,12 +1309,8 @@ static int krb5int_unlock_fac (void)
return k5_mutex_unlock(&krb5int_fac.lock);
}
-#if defined(KRB5_USE_INET6) && defined(NEED_INSIXADDR_ANY)
-/* If compiling with IPv6 support and C library does not define in6addr_any */
+/* Some systems don't define in6addr_any. */
const struct in6_addr krb5int_in6addr_any = IN6ADDR_ANY_INIT;
-#endif
-
-
int krb5int_getaddrinfo (const char *node, const char *service,
const struct addrinfo *hints,