Mercurial > dropbear
comparison cli-session.c @ 500:d588e3ea557a agent-client
propagate from branch 'au.asn.ucc.matt.dropbear' (head 4fb35083f0f46ea667e7043e7d4314aecd3df46c)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 833d0adef6cdbf43ea75283524c665e70b0ee1ee)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 23 Sep 2008 16:05:04 +0000 |
parents | d59f628e7baa c1e9c81d1d27 |
children | 568638be7203 |
comparison
equal
deleted
inserted
replaced
499:f3ca5ebc319a | 500:d588e3ea557a |
---|---|
69 | 69 |
70 static const struct ChanType *cli_chantypes[] = { | 70 static const struct ChanType *cli_chantypes[] = { |
71 #ifdef ENABLE_CLI_REMOTETCPFWD | 71 #ifdef ENABLE_CLI_REMOTETCPFWD |
72 &cli_chan_tcpremote, | 72 &cli_chan_tcpremote, |
73 #endif | 73 #endif |
74 #ifdef ENABLE_CLI_AGENTFWD | |
75 &cli_chan_agent, | |
76 #endif | |
74 NULL /* Null termination */ | 77 NULL /* Null termination */ |
75 }; | 78 }; |
76 | 79 |
77 void cli_session(int sock_in, int sock_out, char* remotehost) { | 80 void cli_session(int sock_in, int sock_out, char* remotehost) { |
78 | 81 |