diff options
author | pst <pst@FreeBSD.org> | 1994-09-15 19:45:43 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1994-09-15 19:45:43 +0000 |
commit | 019579bbf98ca36993865b913cb8d08f468c4c54 (patch) | |
tree | a6ce740c502b1375db22369fbaec9069afd637d5 /usr.bin/ftp/main.c | |
parent | dbc1294a38e4a29ad5ffd0b29703008f35ff9197 (diff) | |
download | FreeBSD-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.c | 1 |
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 */ /* |