mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
we're nearly there yet
--HG-- extra : convert_revision : ab7e63234f2c134c2321406598ae67038e0ca576
This commit is contained in:
@@ -37,7 +37,6 @@ static const packettype cli_packettypes[] = {
|
||||
};
|
||||
|
||||
static const struct ChanType *cli_chantypes[] = {
|
||||
// &clichansess,
|
||||
/* &chan_tcpdirect etc, though need to only allow if we've requested
|
||||
* that forwarding */
|
||||
NULL /* Null termination */
|
||||
@@ -148,6 +147,20 @@ static void cli_sessionloop() {
|
||||
TRACE(("leave cli_sessionloop: cli_auth_try"));
|
||||
return;
|
||||
|
||||
/*
|
||||
case USERAUTH_SUCCESS_RCVD:
|
||||
send_msg_service_request(SSH_SERVICE_CONNECTION);
|
||||
cli_ses.state = SERVICE_CONN_REQ_SENT;
|
||||
TRACE(("leave cli_sessionloop: sent ssh-connection service req"));
|
||||
return;
|
||||
*/
|
||||
|
||||
case USERAUTH_SUCCESS_RCVD:
|
||||
cli_send_chansess_request();
|
||||
TRACE(("leave cli_sessionloop: cli_send_chansess_request"));
|
||||
cli_ses.state = SESSION_RUNNING;
|
||||
return;
|
||||
|
||||
/* XXX more here needed */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user