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