changeset 104:298098b2a61e

Default port is now set as a string
author Matt Johnston <matt@ucc.asn.au>
date Tue, 24 Aug 2004 04:12:08 +0000
parents 8aeac62a968f
children 68b84c20ca1e
files options.h svr-runopts.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 */
--- 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