aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
blob: 0a5e8ba9a0cbad4b982b9a0f07330b3480e8e882 (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
@@ -312,6 +312,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
@@ -329,7 +333,6 @@ void cli_getopts(int argc, char ** argv)
 					print_version();
 					exit(EXIT_SUCCESS);
 					break;
-				case 'o':
 				case 'b':
 					next = &dummy;
 				default: