From e44aca0a8eb41abbaa494d379dd61713dc57c4f3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 9 Sep 2005 16:01:49 +0000 Subject: [PATCH] r10115: bind client connection to the best interface, to the partner metze --- source/libcli/wrepl/winsrepl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libcli/wrepl/winsrepl.c b/source/libcli/wrepl/winsrepl.c index d209cb2756b..910bed278c6 100644 --- a/source/libcli/wrepl/winsrepl.c +++ b/source/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; -- 2.34.1