From: Roman Mashak Date: Tue, 13 Mar 2018 13:57:10 +0000 (-0400) Subject: tc: print actual action for sample action X-Git-Tag: v4.16.0~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9fa16583a1e78482265b195d4cbe7a67420f6df;p=thirdparty%2Fiproute2.git tc: print actual action for sample action Signed-off-by: Roman Mashak Signed-off-by: Stephen Hemminger --- diff --git a/tc/m_sample.c b/tc/m_sample.c index ff5ee6bd1..d88846c63 100644 --- a/tc/m_sample.c +++ b/tc/m_sample.c @@ -163,6 +163,8 @@ static int print_sample(struct action_util *au, FILE *f, struct rtattr *arg) fprintf(f, " trunc_size %d", rta_getattr_u32(tb[TCA_SAMPLE_TRUNC_SIZE])); + print_action_control(f, " ", p->action, ""); + fprintf(f, "\n\tindex %d ref %d bind %d", p->index, p->refcnt, p->bindcnt);