s4:lib/socket: use the same logic in iface_list_wildcard() as in smbd
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Feb 2014 09:18:35 +0000 (10:18 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 1 Apr 2014 07:08:06 +0000 (09:08 +0200)
commit74aa879af2c20feda1b3f94de0317bac8e89002a
treec662cdda7ecdad39742e893dfccd4da3fa57d63f
parent5f4c1bbc6cc127a03e53f60ebefeeb20a7d79bff
s4:lib/socket: use the same logic in iface_list_wildcard() as in smbd

If we have ipv6 support we should listen on "::" too.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10464
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Change-Id: I8ce185d5070280149bee9fd33010443be9031089
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit a571fe520d09a00273a58b1fb0fa9aab8e0aefce)
source4/lib/socket/interface.c