summarylogtreecommitdiffstats
path: root/unwanted-link-help.patch
diff options
context:
space:
mode:
authorBaptiste Jonglez2015-06-25 11:36:43 +0200
committerBaptiste Jonglez2015-06-25 11:36:43 +0200
commit520717dbb41472915edb5aae4828a3334a571d4f (patch)
tree8c34a0bd7aef340064f9bffda75032014a7f4c4e /unwanted-link-help.patch
downloadaur-520717dbb41472915edb5aae4828a3334a571d4f.tar.gz
Initial upload: iproute-mptcp 0.88-1
Diffstat (limited to 'unwanted-link-help.patch')
-rw-r--r--unwanted-link-help.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/unwanted-link-help.patch b/unwanted-link-help.patch
new file mode 100644
index 000000000000..8abe9e39d961
--- /dev/null
+++ b/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;