summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/svr-session.c b/svr-session.c
index c9aed49..e63ba32 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -46,14 +46,13 @@ static void svr_remoteclosed();
struct serversession svr_ses; /* GLOBAL */
static const packettype svr_packettypes[] = {
- /* TYPE, AUTHREQUIRED, FUNCTION */
- {SSH_MSG_SERVICE_REQUEST, recv_msg_service_request}, // server
- {SSH_MSG_USERAUTH_REQUEST, recv_msg_userauth_request}, //server
- {SSH_MSG_KEXINIT, recv_msg_kexinit},
- {SSH_MSG_KEXDH_INIT, recv_msg_kexdh_init}, // server
- {SSH_MSG_NEWKEYS, recv_msg_newkeys},
{SSH_MSG_CHANNEL_DATA, recv_msg_channel_data},
{SSH_MSG_CHANNEL_WINDOW_ADJUST, recv_msg_channel_window_adjust},
+ {SSH_MSG_USERAUTH_REQUEST, recv_msg_userauth_request}, /* server */
+ {SSH_MSG_SERVICE_REQUEST, recv_msg_service_request}, /* server */
+ {SSH_MSG_KEXINIT, recv_msg_kexinit},
+ {SSH_MSG_KEXDH_INIT, recv_msg_kexdh_init}, /* server */
+ {SSH_MSG_NEWKEYS, recv_msg_newkeys},
{SSH_MSG_GLOBAL_REQUEST, recv_msg_global_request_remotetcp},
{SSH_MSG_CHANNEL_REQUEST, recv_msg_channel_request},
{SSH_MSG_CHANNEL_OPEN, recv_msg_channel_open},