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
@ -1403,7 +1403,6 @@ initconn()
|
||||
#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