diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-24 04:12:08 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-24 04:12:08 +0000 |
commit | e089ee4d8508f2f68c4966d4aa9ca65f7176aed8 (patch) | |
tree | 467f23a3120b09e53f10f3bb1e3b6014c3dc3e6e | |
parent | d254e0191d27a98d09373b9df71ff3b13ffda092 (diff) |
Default port is now set as a string
--HG--
extra : convert_revision : c57157250f3c9339a1401b802b6c6e58748f4097
-rw-r--r-- | options.h | 2 | ||||
-rw-r--r-- | svr-runopts.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ ******************************************************************/ #ifndef DROPBEAR_PORT -#define DROPBEAR_PORT 22 +#define DROPBEAR_DEFPORT "22" #endif /* Default hostkey paths - these can be specified on the command line */ diff --git a/svr-runopts.c b/svr-runopts.c index e198b00..dfd5daf 100644 --- a/svr-runopts.c +++ b/svr-runopts.c @@ -70,7 +70,7 @@ static void printhelp(const char * progname) { "-k Disable remote port forwarding\n" #endif "-p port Listen on specified tcp port, up to %d can be specified\n" - " (default %d if none specified)\n" + " (default %s if none specified)\n" #ifdef INETD_MODE "-i Start for inetd\n" #endif |