summaryrefslogtreecommitdiffstats
path: root/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
blob: b8a7d44e81f4613e62e80d8189307cc7337f2f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Index: dropbear-0.49/cli-runopts.c
===================================================================
--- dropbear-0.49.orig/cli-runopts.c	2007-06-04 13:21:39.414984680 +0200
+++ dropbear-0.49/cli-runopts.c	2007-06-04 13:21:40.122877064 +0200
@@ -203,6 +203,10 @@
 					debug_trace = 1;
 					break;
 #endif
+				case 'o':
+					next = &dummy;
+				case 'x':
+					break;
 				case 'F':
 				case 'e':
 				case 'c':
@@ -214,7 +218,6 @@
 #ifndef ENABLE_CLI_LOCALTCPFWD
 				case 'L':
 #endif
-				case 'o':
 				case 'b':
 					next = &dummy;
 				default: