aboutsummaryrefslogtreecommitdiffstats
path: root/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch')
-rw-r--r--package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch b/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
new file mode 100644
index 000000000..93647a99e
--- /dev/null
+++ b/package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
@@ -0,0 +1,21 @@
+--- a/cli-runopts.c
++++ b/cli-runopts.c
+@@ -287,6 +287,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':
+@@ -298,7 +302,6 @@ void cli_getopts(int argc, char ** argv)
+ #ifndef ENABLE_CLI_LOCALTCPFWD
+ case 'L':
+ #endif
+- case 'o':
+ case 'b':
+ next = &dummy;
+ default: