svn commit: samba r10115 - in branches/SAMBA_4_0/source/libcli/wrepl: .

metze at samba.org metze at samba.org
Fri Sep 9 16:01:50 GMT 2005


Author: metze
Date: 2005-09-09 16:01:49 +0000 (Fri, 09 Sep 2005)
New Revision: 10115

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10115

Log:
bind client connection to the best interface, to the partner

metze
Modified:
   branches/SAMBA_4_0/source/libcli/wrepl/winsrepl.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/wrepl/winsrepl.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/wrepl/winsrepl.c	2005-09-09 16:01:31 UTC (rev 10114)
+++ branches/SAMBA_4_0/source/libcli/wrepl/winsrepl.c	2005-09-09 16:01:49 UTC (rev 10115)
@@ -339,7 +339,7 @@
 
 	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;
 



More information about the samba-cvs mailing list