Mercurial > dropbear
comparison cli-runopts.c @ 463:33d5e9fb0f78 agent-client
propagate from branch 'au.asn.ucc.matt.dropbear' (head fb7080ca6e254faaf7cfaee93b0ab6ab6de4ed59)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 78d02301ae8310efa2639f15da0ea62dea110e4b)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 29 Nov 2007 11:38:06 +0000 |
parents | c1e9c81d1d27 f4addc06745b |
children | d588e3ea557a |
comparison
equal
deleted
inserted
replaced
458:c1e9c81d1d27 | 463:33d5e9fb0f78 |
---|---|
90 #ifdef ENABLE_CLI_REMOTETCPFWD | 90 #ifdef ENABLE_CLI_REMOTETCPFWD |
91 int nextisremote = 0; | 91 int nextisremote = 0; |
92 #endif | 92 #endif |
93 char* dummy = NULL; /* Not used for anything real */ | 93 char* dummy = NULL; /* Not used for anything real */ |
94 | 94 |
95 char* recv_window_arg = NULL; | |
96 char* keepalive_arg = NULL; | |
97 | |
95 /* see printhelp() for options */ | 98 /* see printhelp() for options */ |
96 cli_opts.progname = argv[0]; | 99 cli_opts.progname = argv[0]; |
97 cli_opts.remotehost = NULL; | 100 cli_opts.remotehost = NULL; |
98 cli_opts.remoteport = NULL; | 101 cli_opts.remoteport = NULL; |
99 cli_opts.username = NULL; | 102 cli_opts.username = NULL; |
119 /* not yet | 122 /* not yet |
120 opts.ipv4 = 1; | 123 opts.ipv4 = 1; |
121 opts.ipv6 = 1; | 124 opts.ipv6 = 1; |
122 */ | 125 */ |
123 opts.recv_window = DEFAULT_RECV_WINDOW; | 126 opts.recv_window = DEFAULT_RECV_WINDOW; |
124 char* recv_window_arg = NULL; | |
125 char* keepalive_arg = NULL; | |
126 | 127 |
127 /* Iterate all the arguments */ | 128 /* Iterate all the arguments */ |
128 for (i = 1; i < (unsigned int)argc; i++) { | 129 for (i = 1; i < (unsigned int)argc; i++) { |
129 #ifdef ENABLE_CLI_PUBKEY_AUTH | 130 #ifdef ENABLE_CLI_PUBKEY_AUTH |
130 if (nextiskey) { | 131 if (nextiskey) { |