s4-ipv6: allow IPv6 addresses in our interfaces list
authorAndrew Tridgell <tridge@samba.org>
Thu, 12 May 2011 10:26:18 +0000 (12:26 +0200)
committerAndrew Tridgell <tridge@samba.org>
Mon, 6 Jun 2011 02:26:09 +0000 (12:26 +1000)
source4/lib/socket/interface.c

index 83d8e4c1292aac4c3aa909a2d0f6d4e78e51c5d1..9ae658da3efd97f23c9a8a143b72cf465aca775d 100644 (file)
@@ -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;