From: Jamal Hadi Salim Date: Sun, 22 Dec 2013 15:33:13 +0000 (-0500) Subject: allow batch gets of actions X-Git-Tag: v3.14.0~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b159a7f1aeb4c2fc3a9053d314bbc4d235beac67;p=thirdparty%2Fiproute2.git allow batch gets of actions Attached. cheers, jamal commit c5f30cabef14c951596210b96bc9b423b0d39592 Author: Jamal Hadi Salim Date: Sun Dec 22 10:24:17 2013 -0500 Allow batching of action gets Example: ---- tc actions get \ action gact index 100 \ action gact index 4 ---- Signed-off-by: Jamal Hadi Salim --- diff --git a/tc/m_action.c b/tc/m_action.c index 4acabef05..51085ecbb 100644 --- a/tc/m_action.c +++ b/tc/m_action.c @@ -144,6 +144,7 @@ new_cmd(char **argv) if ((matches(*argv, "change") == 0) || (matches(*argv, "replace") == 0)|| (matches(*argv, "delete") == 0)|| + (matches(*argv, "get") == 0)|| (matches(*argv, "add") == 0)) return 1;