mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
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:
@@ -3063,7 +3063,7 @@ static int ftpd_command_pasv(FAR struct ftpd_session_s *session)
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
#ifndef CONFIG_NET_IPv6
|
#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 */
|
/* Fixed to ipv4 */
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -2449,4 +2449,5 @@
|
|||||||
* include/pthread.h: Correct PTHREAD_MUTEX_INITIALIZER.
|
* include/pthread.h: Correct PTHREAD_MUTEX_INITIALIZER.
|
||||||
* fs/fat/fs_fatfs.c: Fix and error in the FAT statfs() implementation that
|
* 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
|
was causing some block counts to be reported incorrectly (reported by
|
||||||
david_s5y).
|
David Sidrane).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user