dropbear: bump to 2022.82
[openwrt/staging/chunkeey.git] / package / network / services / dropbear / patches / 130-ssh_ignore_x_args.patch
index 5e736320cc7520e58d34bc6e60bd4512a057bc8a..d7f589801dce2b3c6856d564e39d48916b9928c8 100644 (file)
@@ -1,11 +1,13 @@
 --- a/cli-runopts.c
 +++ b/cli-runopts.c
-@@ -299,6 +299,8 @@ void cli_getopts(int argc, char ** argv)
-                                       debug_trace = 1;
+@@ -325,6 +325,10 @@ void cli_getopts(int argc, char ** argv)
+                               case 'b':
+                                       next = &bind_arg;
                                        break;
- #endif
 +                              case 'x':
++                                      /* compatibility with openssh cli
++                                       * ("-x" disables X11 forwarding) */
 +                                      break;
-                               case 'F':
-                               case 'e':
- #if !DROPBEAR_USER_ALGO_LIST
+                               default:
+                                       fprintf(stderr,
+                                               "WARNING: Ignoring unknown option -%c\n", c);