Mercurial > dropbear
comparison cli-session.c @ 505:805e557fdff7
Report errors if a remote request fails
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 02 Nov 2008 12:25:08 +0000 |
parents | d59f628e7baa |
children | 568638be7203 |
comparison
equal
deleted
inserted
replaced
504:950c38b854a1 | 505:805e557fdff7 |
---|---|
62 {SSH_MSG_CHANNEL_CLOSE, recv_msg_channel_close}, | 62 {SSH_MSG_CHANNEL_CLOSE, recv_msg_channel_close}, |
63 {SSH_MSG_CHANNEL_OPEN_CONFIRMATION, recv_msg_channel_open_confirmation}, | 63 {SSH_MSG_CHANNEL_OPEN_CONFIRMATION, recv_msg_channel_open_confirmation}, |
64 {SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure}, | 64 {SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure}, |
65 {SSH_MSG_USERAUTH_BANNER, recv_msg_userauth_banner}, /* client */ | 65 {SSH_MSG_USERAUTH_BANNER, recv_msg_userauth_banner}, /* client */ |
66 {SSH_MSG_USERAUTH_SPECIFIC_60, recv_msg_userauth_specific_60}, /* client */ | 66 {SSH_MSG_USERAUTH_SPECIFIC_60, recv_msg_userauth_specific_60}, /* client */ |
67 #ifdef ENABLE_CLI_REMOTETCPFWD | |
68 {SSH_MSG_REQUEST_SUCCESS, cli_recv_msg_request_success}, /* client */ | |
69 {SSH_MSG_REQUEST_FAILURE, cli_recv_msg_request_failure}, /* client */ | |
70 #endif | |
67 {0, 0} /* End */ | 71 {0, 0} /* End */ |
68 }; | 72 }; |
69 | 73 |
70 static const struct ChanType *cli_chantypes[] = { | 74 static const struct ChanType *cli_chantypes[] = { |
71 #ifdef ENABLE_CLI_REMOTETCPFWD | 75 #ifdef ENABLE_CLI_REMOTETCPFWD |