summaryrefslogtreecommitdiffhomepage
path: root/cli-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-07-30 03:02:19 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-07-30 03:02:19 +0000
commitb601f68cda9187ed77d21eb46126fc83ba0bd14b (patch)
tree8c5f209ad3bcaa1bd4ccae479e2634d159037936 /cli-session.c
parentbf785cbcec2857110a70fa0f86db7afd83f58e05 (diff)
we're nearly there yet
--HG-- extra : convert_revision : ab7e63234f2c134c2321406598ae67038e0ca576
Diffstat (limited to 'cli-session.c')
-rw-r--r--cli-session.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/cli-session.c b/cli-session.c
index c999aed..b126b27 100644
--- a/cli-session.c
+++ b/cli-session.c
@@ -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 */