From 085b8a1c879a4046d2b8815c3d567cfdbb844ba0 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Tue, 9 May 2000 18:19:18 +0000 Subject: [PATCH] 2000-5-9 Alexandra Ellwood * macsock.h: local_addr_fallback_kludge now defined to magic gethostaddr function in the Sockets Library, which does exactly what we want if the search domain is not specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12242 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 6 ++++++ src/include/krb5/macsock.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 6fc5cc384..43fc740ed 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,9 @@ +2000-5-9 Alexandra Ellwood + + * macsock.h: local_addr_fallback_kludge now defined to magic gethostaddr function + in the Sockets Library, which does exactly what we want if the search domain is not + specified. + 1998-11-22 Miro Jurisic * macsock.h: MacOS: only #define MACHOSTNAMELEN when not diff --git a/src/include/krb5/macsock.h b/src/include/krb5/macsock.h index 06b103af3..8e5e8799f 100644 --- a/src/include/krb5/macsock.h +++ b/src/include/krb5/macsock.h @@ -93,7 +93,7 @@ typedef int SOCKET; #define SOCKET_ERRNO (GetMITLibError()) #define SOCKET_SET_ERRNO(x) (SetMITLibError(x)) -#define local_addr_fallback_kludge() (0) +#define local_addr_fallback_kludge() gethostaddr() #endif /* macsock_h */ -- 2.26.2