comparison cli-session.c @ 458:c1e9c81d1d27 agent-client

propagate from branch 'au.asn.ucc.matt.dropbear' (head 8a7db1e2fdc5636abb338adb636babc32f465739) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head d82c25da2f7e4fb6da510d806c64344e80bb270d)
author Matt Johnston <matt@ucc.asn.au>
date Thu, 16 Aug 2007 13:34:37 +0000
parents c216212001fc 79bf1023cf11
children d588e3ea557a
comparison
equal deleted inserted replaced
457:e430a26064ee 458:c1e9c81d1d27
68 }; 68 };
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
74 #ifdef ENABLE_CLI_AGENTFWD
75 &cli_chan_agent,
73 #endif 76 #endif
74 NULL /* Null termination */ 77 NULL /* Null termination */
75 }; 78 };
76 79
77 void cli_session(int sock, char* remotehost) { 80 void cli_session(int sock, char* remotehost) {