aboutsummaryrefslogtreecommitdiff
path: root/src/appl/gssftp
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1998-10-02 20:23:31 +0000
committerTheodore Tso <tytso@mit.edu>1998-10-02 20:23:31 +0000
commit5be0133bf001b9949b4076df7285bcd3eb6ad147 (patch)
tree382257e2c892b9364bbd5871709e3f4f378e6b89 /src/appl/gssftp
parent92f2d10e2fc83bb84a9a5168664e2ad8f74527b9 (diff)
downloadkrb5-5be0133bf001b9949b4076df7285bcd3eb6ad147.zip
krb5-5be0133bf001b9949b4076df7285bcd3eb6ad147.tar.gz
krb5-5be0133bf001b9949b4076df7285bcd3eb6ad147.tar.bz2
cmdtab.c: Update help message for passive mode so that it
indicates that the "passive" command toggles passive mode. main.c (main): Make passive mode off by default. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10956 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/gssftp')
-rw-r--r--src/appl/gssftp/ftp/ChangeLog7
-rw-r--r--src/appl/gssftp/ftp/cmdtab.c2
-rw-r--r--src/appl/gssftp/ftp/main.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/src/appl/gssftp/ftp/ChangeLog b/src/appl/gssftp/ftp/ChangeLog
index d389d99..786283c 100644
--- a/src/appl/gssftp/ftp/ChangeLog
+++ b/src/appl/gssftp/ftp/ChangeLog
@@ -1,3 +1,10 @@
+Fri Oct 2 16:16:13 1998 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * cmdtab.c: Update help message for passive mode so that it
+ indicates that the "passive" command toggles passive mode.
+
+ * main.c (main): Make passive mode off by default.
+
Fri Aug 28 18:46:35 1998 Geoffrey King <gjking@mit.edu>
* cmds.c (user): Replace "oldlevel" with the more descriptive
diff --git a/src/appl/gssftp/ftp/cmdtab.c b/src/appl/gssftp/ftp/cmdtab.c
index cb61fc8..de57299 100644
--- a/src/appl/gssftp/ftp/cmdtab.c
+++ b/src/appl/gssftp/ftp/cmdtab.c
@@ -137,7 +137,7 @@ char umaskhelp[] = "get (set) umask on remote side";
char userhelp[] = "send new user information";
char verbosehelp[] = "toggle verbose mode";
#ifndef NO_PASSIVE_MODE
-char setpassivehelp[] = "enter passive transfer mode";
+char setpassivehelp[] = "toggle passive transfer mode";
#endif
struct cmd cmdtab[] = {
diff --git a/src/appl/gssftp/ftp/main.c b/src/appl/gssftp/ftp/main.c
index 2ba3a4c..685c147 100644
--- a/src/appl/gssftp/ftp/main.c
+++ b/src/appl/gssftp/ftp/main.c
@@ -175,7 +175,7 @@ main(argc, argv)
cpend = 0; /* no pending replies */
proxy = 0; /* proxy not active */
#ifndef NO_PASSIVE_MODE
- passivemode = 1; /* passive mode active */
+ passivemode = 0; /* passive mode not active */
#endif
crflag = 1; /* strip c.r. on ascii gets */
sendport = -1; /* not using ports */