All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2] allow batch gets of actions
@ 2013-12-22 15:33 Jamal Hadi Salim
  0 siblings, 0 replies; only message in thread
From: Jamal Hadi Salim @ 2013-12-22 15:33 UTC (permalink / raw)
  To: Stephen Hemminger, netdev@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 26 bytes --]


Attached.

cheers,
jamal

[-- Attachment #2: get-batch-action --]
[-- Type: text/plain, Size: 685 bytes --]

commit c5f30cabef14c951596210b96bc9b423b0d39592
Author: Jamal Hadi Salim <hadi@mojatatu.com>
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 <jhs@mojatatu.com>

diff --git a/tc/m_action.c b/tc/m_action.c
index 4acabef..51085ec 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;
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-22 15:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-22 15:33 [PATCH iproute2] allow batch gets of actions Jamal Hadi Salim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.