mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Some servers respond to RETR in active mode with 125 (connection already
open) rather than 150 (opening connection). There's no reason why we shouldn't accept that. PR: misc/42172 MFC in: 3 days
This commit is contained in:
parent
134ce0f9cc
commit
39082bb4a5
1 changed files with 1 additions and 1 deletions
|
|
@ -689,7 +689,7 @@ _ftp_transfer(conn_t *conn, const char *oper, const char *file,
|
|||
if (verbose)
|
||||
_fetch_info("initiating transfer");
|
||||
e = _ftp_cmd(conn, "%s %s", oper, _ftp_filename(file));
|
||||
if (e != FTP_OPEN_DATA_CONNECTION)
|
||||
if (e != FTP_CONNECTION_ALREADY_OPEN && e != FTP_OPEN_DATA_CONNECTION)
|
||||
goto ouch;
|
||||
|
||||
/* accept the incoming connection and go to town */
|
||||
|
|
|
|||
Loading…
Reference in a new issue