summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2012-05-09 20:33:16 +0800
committerMatt Johnston <matt@ucc.asn.au>2012-05-09 20:33:16 +0800
commit2a02c4084afb7413c02c728d766fc0af8f4c7083 (patch)
treead3c8f204f846f4a5b4b4a06c4133f20b0a78df8 /svr-session.c
parente242b2820c6d49aea9623c02bd574d2c7baef1de (diff)
- Don't sent SSH_MSG_UNIMPLEMENTED if we don't have ENABLE_SVR_REMOTETCPFWD
- Fix build if ENABLE_SVR_REMOTETCPFWD is disabled but ENABLE_SVR_LOCALTCPFWD is enabled
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/svr-session.c b/svr-session.c
index ac73dab..9c12e0f 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -52,9 +52,7 @@ static const packettype svr_packettypes[] = {
{SSH_MSG_KEXINIT, recv_msg_kexinit},
{SSH_MSG_KEXDH_INIT, recv_msg_kexdh_init}, /* server */
{SSH_MSG_NEWKEYS, recv_msg_newkeys},
-#ifdef ENABLE_SVR_REMOTETCPFWD
{SSH_MSG_GLOBAL_REQUEST, recv_msg_global_request_remotetcp},
-#endif
{SSH_MSG_CHANNEL_REQUEST, recv_msg_channel_request},
{SSH_MSG_CHANNEL_OPEN, recv_msg_channel_open},
{SSH_MSG_CHANNEL_EOF, recv_msg_channel_eof},