Skip to content
Snippets Groups Projects
Commit 83f6c8cd authored by Matt Johnston's avatar Matt Johnston
Browse files

* defined USING_LISTENERS when tcp forwarding is enabled but not

  X11 or agent forwarding

--HG--
extra : convert_revision : dd6af3f334c72903101869859512faa88ed49e6c
parent a8785cf7
Branches
Tags
No related merge requests found
...@@ -313,14 +313,6 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */ ...@@ -313,14 +313,6 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */
#define DISABLE_AGENTFWD #define DISABLE_AGENTFWD
#endif #endif
#ifndef ENABLE_LOCALTCPFWD
#define DISABLE_TCPDIRECT
#endif
#ifndef ENABLE_REMOTETCPFWD
#define DISABLE_REMOTETCPFWD
#endif
#if defined(ENABLE_CLI_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD) #if defined(ENABLE_CLI_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD)
#define ENABLE_CLI_ANYTCPFWD #define ENABLE_CLI_ANYTCPFWD
#endif #endif
...@@ -329,7 +321,8 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */ ...@@ -329,7 +321,8 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */
#define DROPBEAR_TCP_ACCEPT #define DROPBEAR_TCP_ACCEPT
#endif #endif
#if defined(ENABLE_REMOTETCPFWD) || defined(ENABLE_LOCALTCPFWD) || \ #if defined(ENABLE_CLI_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD) || \
defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_SVR_LOCALTCPFWD) || \
defined(ENABLE_AGENTFWD) || defined(ENABLE_X11FWD) defined(ENABLE_AGENTFWD) || defined(ENABLE_X11FWD)
#define USING_LISTENERS #define USING_LISTENERS
#endif #endif
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment