summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/fetch.3
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-12-06 09:23:27 +0000
committerdes <des@FreeBSD.org>2000-12-06 09:23:27 +0000
commit1f1139ecc01785d0e985c57f366ae3135b67276a (patch)
tree92fbcbdabda9a17252dd95b41190ca944ec13341 /lib/libfetch/fetch.3
parent35ab1437f2af1825409d35daf63f4fae982a493e (diff)
downloadFreeBSD-src-1f1139ecc01785d0e985c57f366ae3135b67276a.zip
FreeBSD-src-1f1139ecc01785d0e985c57f366ae3135b67276a.tar.gz
Somewhere along the line, I misunderstood the whole FTP_PASSIVE_MODE debate
and had libfetch selecting passive mode even when FTP_PASSIVE_MODE was not set at all, which is really quite surprising unless you know about it. So change it to the agreed default behaviour of selecting passive mode if FTP_PASSIVE_MODE is set, but not "no".
Diffstat (limited to 'lib/libfetch/fetch.3')
-rw-r--r--lib/libfetch/fetch.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3
index 5f5acb0..9c21fcd 100644
--- a/lib/libfetch/fetch.3
+++ b/lib/libfetch/fetch.3
@@ -422,9 +422,9 @@ and message, e.g. "File is not available (404 Not Found)"
.Sh ENVIRONMENT
.Bl -tag -width FTP_PASSIVE_MODE
.It Ev FTP_PASSIVE_MODE
-The FTP code selects passive mode by default.
-To force active mode FTP, set this variable to
-.Ql no .
+If set to anything but
+.Ql no ,
+forces the FTP code to use passive mode.
.It Ev FTP_PASSWORD
Default FTP password if the remote server requests one and none was
provided in the URL.
OpenPOWER on IntegriCloud