]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
allow batch gets of actions
authorJamal Hadi Salim <jhs@mojatatu.com>
Sun, 22 Dec 2013 15:33:13 +0000 (10:33 -0500)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 28 Dec 2013 18:57:34 +0000 (10:57 -0800)
Attached.

cheers,
jamal
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>
tc/m_action.c

index 4acabef056db1b54e0d755c4cc4cba058a69c639..51085ecbb3f481e9a2a7f385ab4bcbc40608f607 100644 (file)
@@ -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;