Browse Source

Fix an FTPD bug

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4378 7fd9a85b-ad96-42d3-883c-3090e2eb8679
sbg
patacongo 13 years ago
parent
commit
84df1adb64
  1. 2
      apps/netutils/ftpd/ftpd.c
  2. 3
      nuttx/ChangeLog

2
apps/netutils/ftpd/ftpd.c

@ -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 */

3
nuttx/ChangeLog

@ -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).

Loading…
Cancel
Save