summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/main.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1994-09-15 19:45:43 +0000
committerpst <pst@FreeBSD.org>1994-09-15 19:45:43 +0000
commit019579bbf98ca36993865b913cb8d08f468c4c54 (patch)
treea6ce740c502b1375db22369fbaec9069afd637d5 /usr.bin/ftp/main.c
parentdbc1294a38e4a29ad5ffd0b29703008f35ff9197 (diff)
downloadFreeBSD-src-019579bbf98ca36993865b913cb8d08f468c4c54.zip
FreeBSD-src-019579bbf98ca36993865b913cb8d08f468c4c54.tar.gz
Add support for passive mode FTP (default off) to base FTP client to support
users behind packet filtering firewalls. Obtained from: David Carrel <carrel@cisco.com>
Diffstat (limited to 'usr.bin/ftp/main.c')
-rw-r--r--usr.bin/ftp/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c
index 00ecadf..52a95b0 100644
--- a/usr.bin/ftp/main.c
+++ b/usr.bin/ftp/main.c
@@ -118,6 +118,7 @@ main(argc, argv)
verbose++;
cpend = 0; /* no pending replies */
proxy = 0; /* proxy not active */
+ passivemode = 0;/* passive mode not active */
crflag = 1; /* strip c.r. on ascii gets */
sendport = -1; /* not using ports */
/*
OpenPOWER on IntegriCloud