comparison cli-runopts.c @ 1642:21dabe66f2c8

fix constness build error
author Matt Johnston <matt@ucc.asn.au>
date Thu, 21 Mar 2019 00:21:38 +0800
parents cf8dc6204fb6
children f8d8af12ac14
comparison
equal deleted inserted replaced
1640:228b086794b7 1642:21dabe66f2c8
212 cli_opts.no_hostkey_check = 1; 212 cli_opts.no_hostkey_check = 1;
213 } 213 }
214 cli_opts.always_accept_key = 1; 214 cli_opts.always_accept_key = 1;
215 break; 215 break;
216 case 'p': /* remoteport */ 216 case 'p': /* remoteport */
217 next = &cli_opts.remoteport; 217 next = (char**)&cli_opts.remoteport;
218 break; 218 break;
219 #if DROPBEAR_CLI_PUBKEY_AUTH 219 #if DROPBEAR_CLI_PUBKEY_AUTH
220 case 'i': /* an identityfile */ 220 case 'i': /* an identityfile */
221 opt = OPT_AUTHKEY; 221 opt = OPT_AUTHKEY;
222 break; 222 break;