s4/torture: Update winsreplication to only use IPv4 addresses
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 26 Mar 2019 05:06:16 +0000 (18:06 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 27 Mar 2019 13:31:27 +0000 (13:31 +0000)
commit991d32a1756e92db728abf17e12457fc9ac8c9b1
tree3accef689c465884cf638d269a80c4dc2c75c586
parenta4d433aede8e08c1fec91ddb9ee7754275a13437
s4/torture: Update winsreplication to only use IPv4 addresses

This test was failing now that the client had an IPv6 address, however,
the test was marked as flapping so this failure wasn't obvious.

Use iface_list_n_is_v4() to filter out only the IPv4 addresses, as
that's all the test cares about.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/nbt/winsreplication.c