diff options
Diffstat (limited to 'core/iproute2/unwanted-link-help.patch')
-rw-r--r-- | core/iproute2/unwanted-link-help.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/core/iproute2/unwanted-link-help.patch b/core/iproute2/unwanted-link-help.patch new file mode 100644 index 000000000..8abe9e39d --- /dev/null +++ b/core/iproute2/unwanted-link-help.patch @@ -0,0 +1,17 @@ +diff -ru iproute2-3.10.0.orig/ip/iplink.c iproute2-3.10.0/ip/iplink.c +--- iproute2-3.10.0.orig/ip/iplink.c 2013-08-08 13:53:33.000000000 -0700 ++++ iproute2-3.10.0/ip/iplink.c 2013-08-08 13:55:03.179865309 -0700 +@@ -467,11 +467,11 @@ + addattr_l(&req->n, sizeof(*req), IFLA_NUM_RX_QUEUES, + &numrxqueues, 4); + } else { ++ if (matches(*argv, "help") == 0) ++ usage(); + if (strcmp(*argv, "dev") == 0) { + NEXT_ARG(); + } +- if (matches(*argv, "help") == 0) +- usage(); + if (*dev) + duparg2("dev", *argv); + *dev = *argv; |