]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
skbedit to default to pipe
authorJamal Hadi Salim <jhs@mojatatu.com>
Sat, 21 Dec 2013 21:38:36 +0000 (16:38 -0500)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 28 Dec 2013 18:57:34 +0000 (10:57 -0800)
Allow skbedit to be used as is in an action chain by default
without need to specify pipe

Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
tc/m_skbedit.c

index cca05ed1eafbf345dee5437ad13d814ee0c3b171..6b582f30dd12cd49037018ef6d26e808505a5a9e 100644 (file)
@@ -99,6 +99,7 @@ parse_skbedit(struct action_util *a, int *argc_p, char ***argv_p, int tca_id,
                argv++;
        }
 
+       sel.action = TC_ACT_PIPE;
        if (argc) {
                if (matches(*argv, "reclassify") == 0) {
                        sel.action = TC_ACT_RECLASSIFY;