aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
blob: edb29093aece5423554ccd406e34b41466c25511 (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
@@ -315,6 +315,10 @@ void cli_getopts(int argc, char ** argv)
 					debug_trace = 1;
 					break;
 #endif
+				case 'o':
+					next = &dummy;
+				case 'x':
+					break;
 				case 'F':
 				case 'e':
 #ifndef ENABLE_USER_ALGO_LIST
@@ -332,7 +336,6 @@ void cli_getopts(int argc, char ** argv)
 					print_version();
 					exit(EXIT_SUCCESS);
 					break;
-				case 'o':
 				case 'b':
 					next = &dummy;
 				default: