diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-09-09 16:01:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:00 -0500 |
commit | 13f7e6a0c6d3cc4c0cff59827f49a245712d99b9 (patch) | |
tree | e4ed85026f2f4241aa35f1d8693a2ae48c311cf2 /source4 | |
parent | 63ef3c7fdc74e025c5547c391cf61a14ab68dd48 (diff) | |
download | samba-13f7e6a0c6d3cc4c0cff59827f49a245712d99b9.tar.gz samba-13f7e6a0c6d3cc4c0cff59827f49a245712d99b9.tar.bz2 samba-13f7e6a0c6d3cc4c0cff59827f49a245712d99b9.zip |
r10115: bind client connection to the best interface, to the partner
metze
(This used to be commit e44aca0a8eb41abbaa494d379dd61713dc57c4f3)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/wrepl/winsrepl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |