we're nearly there yet

--HG--
extra : convert_revision : ab7e63234f2c134c2321406598ae67038e0ca576
This commit is contained in:
Matt Johnston
2004-07-30 03:02:19 +00:00
parent bf785cbcec
commit b601f68cda
6 changed files with 35 additions and 2 deletions

View File

@@ -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 */