]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: print skbedit action when dumping actions.
authorRoman Mashak <mrv@mojatatu.com>
Wed, 22 Mar 2017 18:00:31 +0000 (14:00 -0400)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 4 Apr 2017 21:48:54 +0000 (14:48 -0700)
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
tc/m_skbedit.c

index 8660d6039ab546a904bd9b259724e8938935b5f4..638715f679d379f97745b606c7f0f610522282c4 100644 (file)
@@ -214,6 +214,8 @@ static int print_skbedit(struct action_util *au, FILE *f, struct rtattr *arg)
                        fprintf(f, " ptype %d", *ptype);
        }
 
+       fprintf(f, " %s", action_n2a(p->action));
+
        fprintf(f, "\n\t index %u ref %d bind %d",
                p->index, p->refcnt, p->bindcnt);