Fix an FTPD bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4378 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
f12225b4f7
commit
96abf2590b
@ -3063,7 +3063,7 @@ static int ftpd_command_pasv(FAR struct ftpd_session_s *session)
|
||||
else
|
||||
#endif
|
||||
#ifndef CONFIG_NET_IPv6
|
||||
if (session->data.addr.ss.ss_family != AF_INET)
|
||||
if (session->data.addr.ss.ss_family == AF_INET)
|
||||
{
|
||||
/* Fixed to ipv4 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user