forked from Archive/PX4-Autopilot
Fix an FTPD bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4378 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
4f5b04c8e5
commit
84df1adb64
|
@ -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 */
|
||||
|
||||
|
|
|
@ -2449,4 +2449,5 @@
|
|||
* include/pthread.h: Correct PTHREAD_MUTEX_INITIALIZER.
|
||||
* fs/fat/fs_fatfs.c: Fix and error in the FAT statfs() implementation that
|
||||
was causing some block counts to be reported incorrectly (reported by
|
||||
david_s5y).
|
||||
David Sidrane).
|
||||
|
||||
|
|
Loading…
Reference in New Issue