mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
c6cf6527bf
Submitted by: Jeremy Chadwick <yoshi@parodius.com>
13 lines
418 B
Plaintext
13 lines
418 B
Plaintext
--- modules/mod_xfer.c.orig Mon Jul 31 16:49:19 2000
|
|
+++ modules/mod_xfer.c Mon Jul 31 16:50:02 2000
|
|
@@ -268,7 +268,8 @@
|
|
|
|
/* No PORT command has been issued.
|
|
*/
|
|
- if(session.d != NULL || !(session.flags & SF_PORT)) {
|
|
+ if(!(session.flags & SF_PASSIVE) &&
|
|
+ (session.d != NULL || !(session.flags & SF_PORT))) {
|
|
add_response_err(R_503, "No PORT command issued first.");
|
|
return ERROR(cmd);
|
|
}
|