git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b11061
)
s4-ipv6: enable IPv6 by default
author
Andrew Tridgell
<tridge@samba.org>
Fri, 3 Jun 2011 21:59:54 +0000
(07:59 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 6 Jun 2011 02:26:10 +0000
(12:26 +1000)
it now passes all tests
source4/lib/socket/interface.c
patch
|
blob
|
history
diff --git
a/source4/lib/socket/interface.c
b/source4/lib/socket/interface.c
index 00550a9ed4c5238807c104724b096e556f524c94..96cee2fbe6135fe4a8cf24ef09a6ad06f5fdcadb 100644
(file)
--- 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",
fals
e);
+ bool enable_ipv6 = lpcfg_parm_bool(lp_ctx, NULL, "ipv6", "enable",
tru
e);
*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",
fals
e)) {
+ if (lpcfg_parm_bool(lp_ctx, NULL, "ipv6", "enable",
tru
e)) {
return str_list_add(ret, "::");
}
#endif