mirror of
https://github.com/clearml/dropbear
synced 2025-03-03 18:52:00 +00:00
Default port is now set as a string
--HG-- extra : convert_revision : c57157250f3c9339a1401b802b6c6e58748f4097
This commit is contained in:
parent
d254e0191d
commit
e089ee4d85
@ -11,7 +11,7 @@
|
|||||||
******************************************************************/
|
******************************************************************/
|
||||||
|
|
||||||
#ifndef DROPBEAR_PORT
|
#ifndef DROPBEAR_PORT
|
||||||
#define DROPBEAR_PORT 22
|
#define DROPBEAR_DEFPORT "22"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Default hostkey paths - these can be specified on the command line */
|
/* Default hostkey paths - these can be specified on the command line */
|
||||||
|
@ -70,7 +70,7 @@ static void printhelp(const char * progname) {
|
|||||||
"-k Disable remote port forwarding\n"
|
"-k Disable remote port forwarding\n"
|
||||||
#endif
|
#endif
|
||||||
"-p port Listen on specified tcp port, up to %d can be specified\n"
|
"-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
|
#ifdef INETD_MODE
|
||||||
"-i Start for inetd\n"
|
"-i Start for inetd\n"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user