(getdatasock): make sure to keep the port-number of the outgoing
connections. It has to be `ftp-data' or some people might get upset. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7455 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1172,7 +1172,7 @@ getdatasock(const char *mode)
|
||||
/* anchor socket to avoid multi-homing problems */
|
||||
socket_set_address_and_port (data_source,
|
||||
socket_get_address (ctrl_addr),
|
||||
0);
|
||||
socket_get_port (data_source));
|
||||
|
||||
for (tries = 1; ; tries++) {
|
||||
if (bind(s, data_source,
|
||||
|
Reference in New Issue
Block a user