summaryrefslogtreecommitdiff
path: root/source4/lib/socket/interface.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-05-12 12:26:18 +0200
committerAndrew Tridgell <tridge@samba.org>2011-06-06 12:26:09 +1000
commit62af4a3798995b0368625c0322bc9d5373bb0348 (patch)
tree420317cb050a50604610a14a1f3ad3cc0eeac0ea /source4/lib/socket/interface.c
parent1c87f166df7adf64f5b3b0b445bfc24911d9d4d8 (diff)
downloadsamba-62af4a3798995b0368625c0322bc9d5373bb0348.tar.gz
samba-62af4a3798995b0368625c0322bc9d5373bb0348.tar.bz2
samba-62af4a3798995b0368625c0322bc9d5373bb0348.zip
s4-ipv6: allow IPv6 addresses in our interfaces list
Diffstat (limited to 'source4/lib/socket/interface.c')
-rw-r--r--source4/lib/socket/interface.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/lib/socket/interface.c b/source4/lib/socket/interface.c
index 83d8e4c129..9ae658da3e 100644
--- a/source4/lib/socket/interface.c
+++ b/source4/lib/socket/interface.c
@@ -92,11 +92,6 @@ static void add_interface(TALLOC_CTX *mem_ctx, const struct iface_struct *ifs, s
return;
}
- if (ifs->ip.ss_family != AF_INET) {
- DEBUG(5, ("not adding IPv6 interface %s\n", ifs->name));
- return;
- }
-
iface = talloc(*interfaces == NULL ? mem_ctx : *interfaces, struct interface);
if (iface == NULL)
return;