comparison svr-session.c @ 673:c519b78b6d1a

- 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
author Matt Johnston <matt@ucc.asn.au>
date Wed, 09 May 2012 20:33:16 +0800
parents fc7ae88e63b3
children 167fdc091c05
comparison
equal deleted inserted replaced
672:6c35ff40e496 673:c519b78b6d1a
50 {SSH_MSG_USERAUTH_REQUEST, recv_msg_userauth_request}, /* server */ 50 {SSH_MSG_USERAUTH_REQUEST, recv_msg_userauth_request}, /* server */
51 {SSH_MSG_SERVICE_REQUEST, recv_msg_service_request}, /* server */ 51 {SSH_MSG_SERVICE_REQUEST, recv_msg_service_request}, /* server */
52 {SSH_MSG_KEXINIT, recv_msg_kexinit}, 52 {SSH_MSG_KEXINIT, recv_msg_kexinit},
53 {SSH_MSG_KEXDH_INIT, recv_msg_kexdh_init}, /* server */ 53 {SSH_MSG_KEXDH_INIT, recv_msg_kexdh_init}, /* server */
54 {SSH_MSG_NEWKEYS, recv_msg_newkeys}, 54 {SSH_MSG_NEWKEYS, recv_msg_newkeys},
55 #ifdef ENABLE_SVR_REMOTETCPFWD
56 {SSH_MSG_GLOBAL_REQUEST, recv_msg_global_request_remotetcp}, 55 {SSH_MSG_GLOBAL_REQUEST, recv_msg_global_request_remotetcp},
57 #endif
58 {SSH_MSG_CHANNEL_REQUEST, recv_msg_channel_request}, 56 {SSH_MSG_CHANNEL_REQUEST, recv_msg_channel_request},
59 {SSH_MSG_CHANNEL_OPEN, recv_msg_channel_open}, 57 {SSH_MSG_CHANNEL_OPEN, recv_msg_channel_open},
60 {SSH_MSG_CHANNEL_EOF, recv_msg_channel_eof}, 58 {SSH_MSG_CHANNEL_EOF, recv_msg_channel_eof},
61 {SSH_MSG_CHANNEL_CLOSE, recv_msg_channel_close}, 59 {SSH_MSG_CHANNEL_CLOSE, recv_msg_channel_close},
62 #ifdef USING_LISTENERS 60 #ifdef USING_LISTENERS