diff options
author | Baptiste Jonglez | 2015-06-25 11:36:43 +0200 |
---|---|---|
committer | Baptiste Jonglez | 2015-06-25 11:36:43 +0200 |
commit | 520717dbb41472915edb5aae4828a3334a571d4f (patch) | |
tree | 8c34a0bd7aef340064f9bffda75032014a7f4c4e /unwanted-link-help.patch | |
download | aur-520717dbb41472915edb5aae4828a3334a571d4f.tar.gz |
Initial upload: iproute-mptcp 0.88-1
Diffstat (limited to 'unwanted-link-help.patch')
-rw-r--r-- | unwanted-link-help.patch | 17 |
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; |