ipq40xx: only include ath10k-board-qca4019 for the generic subtarget
[openwrt/staging/chunkeey.git] / package / network / services / dropbear / patches / 130-ssh_ignore_x_args.patch
index ab09c2f3dc3a253fd18acae8d7d3b4b0f668e3dd..d7f589801dce2b3c6856d564e39d48916b9928c8 100644 (file)
@@ -1,11 +1,13 @@
 --- a/cli-runopts.c
 +++ b/cli-runopts.c
-@@ -296,6 +296,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':
- #ifndef ENABLE_USER_ALGO_LIST
+                               default:
+                                       fprintf(stderr,
+                                               "WARNING: Ignoring unknown option -%c\n", c);