]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: print actual action for connmark action
authorRoman Mashak <mrv@mojatatu.com>
Tue, 20 Mar 2018 17:45:38 +0000 (13:45 -0400)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 27 Mar 2018 16:03:15 +0000 (09:03 -0700)
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
tc/m_connmark.c

index 37d7185415490cb4ecdf8e88eba866066d5e3f6f..d5b140cbb7bdc260ad484c13bf8461d944bf3173 100644 (file)
@@ -121,7 +121,8 @@ static int print_connmark(struct action_util *au, FILE *f, struct rtattr *arg)
 
        ci = RTA_DATA(tb[TCA_CONNMARK_PARMS]);
 
-       fprintf(f, " connmark zone %d\n", ci->zone);
+       fprintf(f, " connmark zone %d", ci->zone);
+       print_action_control(f, " ", ci->action, "\n");
        fprintf(f, "\t index %u ref %d bind %d", ci->index,
                ci->refcnt, ci->bindcnt);