From 13f7e6a0c6d3cc4c0cff59827f49a245712d99b9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 9 Sep 2005 16:01:49 +0000 Subject: r10115: bind client connection to the best interface, to the partner metze (This used to be commit e44aca0a8eb41abbaa494d379dd61713dc57c4f3) --- source4/libcli/wrepl/winsrepl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli/wrepl') diff --git a/source4/libcli/wrepl/winsrepl.c b/source4/libcli/wrepl/winsrepl.c index d209cb2756..910bed278c 100644 --- a/source4/libcli/wrepl/winsrepl.c +++ b/source4/libcli/wrepl/winsrepl.c @@ -339,7 +339,7 @@ struct wrepl_request *wrepl_connect_send(struct wrepl_socket *wrepl_socket, talloc_set_destructor(req, wrepl_request_destructor); - status = socket_connect(wrepl_socket->sock, NULL, 0, address, + status = socket_connect(wrepl_socket->sock, iface_best_ip(address), 0, address, WINS_REPLICATION_PORT, 0); if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) goto failed; -- cgit