summaryrefslogtreecommitdiffhomepage
path: root/options.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-06-03 18:08:34 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-06-03 18:08:34 +0000
commitae1b0b07cf0bfe3e4d8694409bd490ba8c325b95 (patch)
tree0d633bc0b52ece436ca86ee84581ce7058984a31 /options.h
parent9847cfe73d073e7986304915702ebb0e2f99eb15 (diff)
Fixed stupid agentfwd error (using the listening FD, not the accepted on. gah)
--HG-- extra : convert_revision : 27e793a6395dbf5f2c0aa130d37fad2e4ef67e01
Diffstat (limited to 'options.h')
-rw-r--r--options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/options.h b/options.h
index 703fec0..c6b552a 100644
--- a/options.h
+++ b/options.h
@@ -303,6 +303,11 @@
#define DISABLE_REMOTETCPFWD
#endif
+#if defined(ENABLE_REMOTETCPFWD) || defined(ENABLE_LOCALTCPFWD) || \
+ defined(ENABLE_AGENTFWD) || defined(ENABLE_X11FWD)
+#define USING_LISTENERS
+#endif
+
/* We use dropbear_client and dropbear_server as shortcuts to avoid redundant
* code, if we're just compiling as client or server */
#if defined(DROPBEAR_SERVER) && defined(DROPBEAR_CLIENT)