diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-11-02 12:25:08 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-11-02 12:25:08 +0000 |
commit | 5cd6995fb5ab34c3ff2e77f94be1be4135248db3 (patch) | |
tree | c93488a101d8b57a5c29335b95fb5ec071644e07 /cli-session.c | |
parent | ed79abed76fd91231929100ca3421913827ba83f (diff) |
Report errors if a remote request fails
--HG--
extra : convert_revision : ed1584aacf189b8f8ddee813b98342fa8bb38022
Diffstat (limited to 'cli-session.c')
-rw-r--r-- | cli-session.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli-session.c b/cli-session.c index d0a7361..c153f4f 100644 --- a/cli-session.c +++ b/cli-session.c @@ -64,6 +64,10 @@ static const packettype cli_packettypes[] = { {SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure}, {SSH_MSG_USERAUTH_BANNER, recv_msg_userauth_banner}, /* client */ {SSH_MSG_USERAUTH_SPECIFIC_60, recv_msg_userauth_specific_60}, /* client */ +#ifdef ENABLE_CLI_REMOTETCPFWD + {SSH_MSG_REQUEST_SUCCESS, cli_recv_msg_request_success}, /* client */ + {SSH_MSG_REQUEST_FAILURE, cli_recv_msg_request_failure}, /* client */ +#endif {0, 0} /* End */ }; |