diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-04-30 11:27:41 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2007-04-30 11:27:41 +0000 |
commit | 58fb33ca11c88f8a9b20990e6bac6f782229f0bf (patch) | |
tree | 4099bf8661d31e37148587fa0ebc6dc522ea72ca | |
parent | e4a4167d818d1365c54c50e042b874e22f54394e (diff) | |
download | samba-58fb33ca11c88f8a9b20990e6bac6f782229f0bf.tar.gz |
r22602: s/HAVE_SOCKET_IPV6/HAVE_IPV6/ to match the define used by Heimdal.talloc-1.0
-rw-r--r-- | source/auth/kerberos/krb5_init_context.c | 2 | ||||
-rw-r--r-- | source/lib/socket/config.m4 | 2 | ||||
-rw-r--r-- | source/lib/socket/socket.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/auth/kerberos/krb5_init_context.c b/source/auth/kerberos/krb5_init_context.c index 664f998bc99..b78f6ef94e0 100644 --- a/source/auth/kerberos/krb5_init_context.c +++ b/source/auth/kerberos/krb5_init_context.c @@ -258,7 +258,7 @@ krb5_error_code smb_krb5_send_and_recv_func(krb5_context context, case PF_INET: name = "ipv4"; break; -#ifdef HAVE_SOCKET_IPV6 +#ifdef HAVE_IPV6 case PF_INET6: name = "ipv6"; break; diff --git a/source/lib/socket/config.m4 b/source/lib/socket/config.m4 index 250b3001eb2..e9c194ddc4e 100644 --- a/source/lib/socket/config.m4 +++ b/source/lib/socket/config.m4 @@ -91,7 +91,7 @@ AC_CHECK_FUNCS(gethostbyname2, have_ipv6=true, have_ipv6=false) SMB_ENABLE(socket_ipv6, NO) if $have_ipv6 = true; then SMB_ENABLE(socket_ipv6, YES) - AC_DEFINE(HAVE_SOCKET_IPV6,1,[Whether the system has ipv6 support]) + AC_DEFINE(HAVE_IPV6,1,[Whether the system has ipv6 support]) fi dnl don't build ipv6 by default, unless the above test enables it, or dnl the configure uses --with-static-modules=socket_ipv6 diff --git a/source/lib/socket/socket.c b/source/lib/socket/socket.c index eca668885cf..d975eae2dc7 100644 --- a/source/lib/socket/socket.c +++ b/source/lib/socket/socket.c @@ -426,7 +426,7 @@ _PUBLIC_ const struct socket_ops *socket_getops_byname(const char *family, enum return socket_ipv4_ops(type); } -#if HAVE_SOCKET_IPV6 +#if HAVE_IPV6 if (strcmp("ipv6", family) == 0) { if (lp_parm_bool(-1, "socket", "noipv6", False)) { DEBUG(3, ("IPv6 support was disabled in smb.conf")); |