dropbear: upgrade to 0.51
[openwrt/svn-archive/archive.git] / package / dropbear / patches / 130-ssh_ignore_o_and_x_args.patch
1 Index: dropbear-0.51/cli-runopts.c
2 ===================================================================
3 --- dropbear-0.51.orig/cli-runopts.c 2008-04-22 17:29:49.000000000 -0700
4 +++ dropbear-0.51/cli-runopts.c 2008-04-22 17:29:50.000000000 -0700
5 @@ -220,6 +220,10 @@
6 debug_trace = 1;
7 break;
8 #endif
9 + case 'o':
10 + next = &dummy;
11 + case 'x':
12 + break;
13 case 'F':
14 case 'e':
15 case 'c':
16 @@ -231,7 +235,6 @@
17 #ifndef ENABLE_CLI_LOCALTCPFWD
18 case 'L':
19 #endif
20 - case 'o':
21 case 'b':
22 next = &dummy;
23 default: