mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
Let ftp command use only PORT(no EPRT) for IPv4 destination.
Because if ftpd is invoked with -R option, and EPRT is used via firewal or NAT which don't understand EPRT, then the data connection from ftpd to ftp client will fail. Reported By: ume@mahoroba.org Approved by: jkh
This commit is contained in:
parent
b85666e879
commit
d98d74772f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57067
@ -1403,7 +1403,6 @@ noport:
|
||||
#define UC(b) (((int)b)&0xff)
|
||||
|
||||
switch (daddr->su_family) {
|
||||
case AF_INET:
|
||||
#ifdef INET6
|
||||
case AF_INET6:
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user