summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-05-12 13:08:45 +0200
committerAndrew Tridgell <tridge@samba.org>2011-06-06 12:26:10 +1000
commit2f66fb9270fb5f1dc79adab0e5d8d941992a2a17 (patch)
treee68eb87038422c28ffc710a10ef45e2fdb9234e5
parent78a8087213e0ae67d1071367dd304fd2e761216e (diff)
downloadsamba-2f66fb9270fb5f1dc79adab0e5d8d941992a2a17.tar.gz
samba-2f66fb9270fb5f1dc79adab0e5d8d941992a2a17.tar.bz2
samba-2f66fb9270fb5f1dc79adab0e5d8d941992a2a17.zip
s4-ipv6: the wins replication server can only handle IPv4
-rw-r--r--source4/wrepl_server/wrepl_in_connection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/wrepl_server/wrepl_in_connection.c b/source4/wrepl_server/wrepl_in_connection.c
index dc6beb3f2a..0837d0097f 100644
--- a/source4/wrepl_server/wrepl_in_connection.c
+++ b/source4/wrepl_server/wrepl_in_connection.c
@@ -450,6 +450,9 @@ NTSTATUS wreplsrv_setup_sockets(struct wreplsrv_service *service, struct loadpar
socket per interface and bind to only these.
*/
for(i = 0; i < num_interfaces; i++) {
+ if (!iface_list_n_is_v4(ifaces, i)) {
+ continue;
+ }
address = iface_list_n_ip(ifaces, i);
status = stream_setup_socket(task, task->event_ctx,
task->lp_ctx, model_ops,