diff options
author | James Meyer <james.meyer@operamail.com> | 2014-02-16 23:50:45 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-02-19 19:03:03 (GMT) |
commit | cdfb9e4bf2706feee766cae336e31ca21a1bd73f (patch) | |
tree | f4770b1abaf07d19701f2b9c0a7b90bc65bcac68 /abs/core/iproute2/unwanted-link-help.patch | |
parent | deede5e40d1a8d27388f25a90a1413f269d60a17 (diff) | |
download | linhes_pkgbuild-cdfb9e4bf2706feee766cae336e31ca21a1bd73f.zip linhes_pkgbuild-cdfb9e4bf2706feee766cae336e31ca21a1bd73f.tar.gz linhes_pkgbuild-cdfb9e4bf2706feee766cae336e31ca21a1bd73f.tar.bz2 |
iproute2, iptables, iputils:
update binary path to /usr/bin
refs #961
Diffstat (limited to 'abs/core/iproute2/unwanted-link-help.patch')
-rw-r--r-- | abs/core/iproute2/unwanted-link-help.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/core/iproute2/unwanted-link-help.patch b/abs/core/iproute2/unwanted-link-help.patch new file mode 100644 index 0000000..8abe9e3 --- /dev/null +++ b/abs/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; |