From e089ee4d8508f2f68c4966d4aa9ca65f7176aed8 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 24 Aug 2004 04:12:08 +0000 Subject: [PATCH] Default port is now set as a string --HG-- extra : convert_revision : c57157250f3c9339a1401b802b6c6e58748f4097 --- options.h | 2 +- svr-runopts.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/options.h b/options.h index 9be79a9..2f53831 100644 --- a/options.h +++ b/options.h @@ -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