comparison runopts.h @ 1194:089b8e91472b

Fixed build when ENABLE_CLI_REMOTETCPFWD is the only allowed TCP forwarding.
author Konstantin Tokarev <ktokarev@smartlabs.tv>
date Fri, 27 Nov 2015 21:40:00 +0300
parents deed0571cacc
children 86a9e0204c03 2907c658fa76
comparison
equal deleted inserted replaced
1192:af940cefdba1 1194:089b8e91472b
31 #include "auth.h" 31 #include "auth.h"
32 #include "tcpfwd.h" 32 #include "tcpfwd.h"
33 33
34 typedef struct runopts { 34 typedef struct runopts {
35 35
36 #if defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD) 36 #if defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD) \
37 || defined(ENABLE_CLI_REMOTETCPFWD)
37 int listen_fwd_all; 38 int listen_fwd_all;
38 #endif 39 #endif
39 unsigned int recv_window; 40 unsigned int recv_window;
40 time_t keepalive_secs; /* Time between sending keepalives. 0 is off */ 41 time_t keepalive_secs; /* Time between sending keepalives. 0 is off */
41 time_t idle_timeout_secs; /* Exit if no traffic is sent/received in this time */ 42 time_t idle_timeout_secs; /* Exit if no traffic is sent/received in this time */