7c4306c368d94dc37e857d97934acea2c20a9036
[openwrt/svn-archive/archive.git] / package / dropbear / patches / 130-ssh_ignore_o_and_x_args.patch
1 --- a/cli-runopts.c
2 +++ b/cli-runopts.c
3 @@ -271,6 +271,10 @@ void cli_getopts(int argc, char ** argv)
4 debug_trace = 1;
5 break;
6 #endif
7 + case 'o':
8 + next = &dummy;
9 + case 'x':
10 + break;
11 case 'F':
12 case 'e':
13 case 'c':
14 @@ -282,7 +286,6 @@ void cli_getopts(int argc, char ** argv)
15 #ifndef ENABLE_CLI_LOCALTCPFWD
16 case 'L':
17 #endif
18 - case 'o':
19 case 'b':
20 next = &dummy;
21 default: