netutils: ftpd: Fix EPSV mode in ftpd.c (IPv4 only)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
13479e0a8c
commit
e6196d2c9c
@ -3378,8 +3378,8 @@ static int ftpd_command_epsv(FAR struct ftpd_session_s *session)
|
||||
{
|
||||
ret = ftpd_response(session->cmd.sd, session->txtimeout,
|
||||
"%03u%cEntering Extended Passive Mode "
|
||||
"(|%u||%u|).\r\n",
|
||||
229, ' ', 1,
|
||||
"(|||%u|).\r\n",
|
||||
229, ' ',
|
||||
ntohs(session->data.addr.in4.sin_port));
|
||||
if (ret < 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user