# HG changeset patch # User Matt Johnston # Date 1093320728 0 # Node ID 298098b2a61e19dee993a090ec8518ea19d242a8 # Parent 8aeac62a968f297337bc3341c8d7997a9d1ba682 Default port is now set as a string diff -r 8aeac62a968f -r 298098b2a61e options.h --- a/options.h Tue Aug 24 04:10:37 2004 +0000 +++ b/options.h Tue Aug 24 04:12:08 2004 +0000 @@ -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 -r 8aeac62a968f -r 298098b2a61e svr-runopts.c --- a/svr-runopts.c Tue Aug 24 04:10:37 2004 +0000 +++ b/svr-runopts.c Tue Aug 24 04:12:08 2004 +0000 @@ -70,7 +70,7 @@ "-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