summaryrefslogtreecommitdiffstats
path: root/ftp/proftpd/files
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2000-07-31 23:53:11 +0000
committermharo <mharo@FreeBSD.org>2000-07-31 23:53:11 +0000
commit9f56fddf397ce008fa7b6360d10027dd68ea716b (patch)
treef1349fea8334d74c12550222769d6f9c78cf4510 /ftp/proftpd/files
parente93c16ebb71ba3ca357446da65cf493ac9a20dc7 (diff)
downloadFreeBSD-ports-9f56fddf397ce008fa7b6360d10027dd68ea716b.zip
FreeBSD-ports-9f56fddf397ce008fa7b6360d10027dd68ea716b.tar.gz
fix PASV bug introduced in rc2
Submitted by: Jeremy Chadwick <yoshi@parodius.com>
Diffstat (limited to 'ftp/proftpd/files')
-rw-r--r--ftp/proftpd/files/patch-ak12
1 files changed, 12 insertions, 0 deletions
diff --git a/ftp/proftpd/files/patch-ak b/ftp/proftpd/files/patch-ak
new file mode 100644
index 0000000..0d8bb08
--- /dev/null
+++ b/ftp/proftpd/files/patch-ak
@@ -0,0 +1,12 @@
+--- 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);
+ }
OpenPOWER on IntegriCloud