s4-ipv6: fix iface_list_best_ip() for IPv6
authorAndrew Tridgell <tridge@samba.org>
Mon, 6 Jun 2011 05:18:12 +0000 (15:18 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 7 Jun 2011 02:55:37 +0000 (12:55 +1000)
commit6a6d4d8884788c1e860bda886d168301623e1ea3
tree6cd4b7fcb46688157527a5c3927fb4a754eee126
parent776598a98103a20fc6a0bfafdebd105e448518ac
s4-ipv6: fix iface_list_best_ip() for IPv6

return an interface with the same address family as the target
source4/lib/socket/interface.c