summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-06-04 07:59:54 +1000
committerAndrew Tridgell <tridge@samba.org>2011-06-06 12:26:10 +1000
commitdc1e6109c8bcc21831defd443fcf42427706c642 (patch)
treedcb94614f0d2bf62e3fbd00adedfcf96e8b230ad
parent0b11061b05cf6fdda8bf8a9be1a8da5b0cac1707 (diff)
downloadsamba-dc1e6109c8bcc21831defd443fcf42427706c642.tar.gz
samba-dc1e6109c8bcc21831defd443fcf42427706c642.tar.bz2
samba-dc1e6109c8bcc21831defd443fcf42427706c642.zip
s4-ipv6: enable IPv6 by default
it now passes all tests
-rw-r--r--source4/lib/socket/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/socket/interface.c b/source4/lib/socket/interface.c
index 00550a9ed4..96cee2fbe6 100644
--- a/source4/lib/socket/interface.c
+++ b/source4/lib/socket/interface.c
@@ -295,7 +295,7 @@ void load_interface_list(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, s
int i;
struct iface_struct *ifaces;
int total_probed;
- bool enable_ipv6 = lpcfg_parm_bool(lp_ctx, NULL, "ipv6", "enable", false);
+ bool enable_ipv6 = lpcfg_parm_bool(lp_ctx, NULL, "ipv6", "enable", true);
*local_interfaces = NULL;
@@ -485,7 +485,7 @@ const char **iface_list_wildcard(TALLOC_CTX *mem_ctx, struct loadparm_context *l
if (ret == NULL) return NULL;
#ifdef HAVE_IPV6
- if (lpcfg_parm_bool(lp_ctx, NULL, "ipv6", "enable", false)) {
+ if (lpcfg_parm_bool(lp_ctx, NULL, "ipv6", "enable", true)) {
return str_list_add(ret, "::");
}
#endif