comparison options.h @ 434:0aaaf68e97dc

Add -p [address:]port option for binding to addresses, patch from Max-Gerd Retzlaff
author Matt Johnston <matt@ucc.asn.au>
date Thu, 22 Feb 2007 14:52:46 +0000
parents 55a99934db87
children 337c45621e81
comparison
equal deleted inserted replaced
291:55a99934db87 434:0aaaf68e97dc
10 * parts are to allow for commandline -DDROPBEAR_XXX options etc. 10 * parts are to allow for commandline -DDROPBEAR_XXX options etc.
11 ******************************************************************/ 11 ******************************************************************/
12 12
13 #ifndef DROPBEAR_DEFPORT 13 #ifndef DROPBEAR_DEFPORT
14 #define DROPBEAR_DEFPORT "22" 14 #define DROPBEAR_DEFPORT "22"
15 #endif
16
17 #ifndef DROPBEAR_DEFADDRESS
18 /* Listen on all interfaces */
19 #define DROPBEAR_DEFADDRESS ""
15 #endif 20 #endif
16 21
17 /* Default hostkey paths - these can be specified on the command line */ 22 /* Default hostkey paths - these can be specified on the command line */
18 #ifndef DSS_PRIV_FILENAME 23 #ifndef DSS_PRIV_FILENAME
19 #define DSS_PRIV_FILENAME "/etc/dropbear/dropbear_dss_host_key" 24 #define DSS_PRIV_FILENAME "/etc/dropbear/dropbear_dss_host_key"