Mercurial > dropbear
comparison options.h @ 13:db2c8e6fb284
Fixed stupid agentfwd error (using the listening FD, not the accepted on. gah)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 03 Jun 2004 18:08:34 +0000 |
parents | 7f77962de998 |
children | 0969767bca0d |
comparison
equal
deleted
inserted
replaced
12:7a37cff27258 | 13:db2c8e6fb284 |
---|---|
301 | 301 |
302 #ifndef ENABLE_REMOTETCPFWD | 302 #ifndef ENABLE_REMOTETCPFWD |
303 #define DISABLE_REMOTETCPFWD | 303 #define DISABLE_REMOTETCPFWD |
304 #endif | 304 #endif |
305 | 305 |
306 #if defined(ENABLE_REMOTETCPFWD) || defined(ENABLE_LOCALTCPFWD) || \ | |
307 defined(ENABLE_AGENTFWD) || defined(ENABLE_X11FWD) | |
308 #define USING_LISTENERS | |
309 #endif | |
310 | |
306 /* We use dropbear_client and dropbear_server as shortcuts to avoid redundant | 311 /* We use dropbear_client and dropbear_server as shortcuts to avoid redundant |
307 * code, if we're just compiling as client or server */ | 312 * code, if we're just compiling as client or server */ |
308 #if defined(DROPBEAR_SERVER) && defined(DROPBEAR_CLIENT) | 313 #if defined(DROPBEAR_SERVER) && defined(DROPBEAR_CLIENT) |
309 | 314 |
310 #define IS_DROPBEAR_SERVER (ses.isserver == 1) | 315 #define IS_DROPBEAR_SERVER (ses.isserver == 1) |