From: Roman Mashak Date: Tue, 20 Mar 2018 17:45:38 +0000 (-0400) Subject: tc: print actual action for connmark action X-Git-Tag: v4.16.0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=990b1d90d7284a8f38648d0ac6348f94cc90ae19;p=thirdparty%2Fiproute2.git tc: print actual action for connmark action Signed-off-by: Roman Mashak --- diff --git a/tc/m_connmark.c b/tc/m_connmark.c index 37d718541..d5b140cbb 100644 --- a/tc/m_connmark.c +++ b/tc/m_connmark.c @@ -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);