tc: print actual action for sample action
Signed-off-by: Roman Mashak <mrv@mojatatu.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
527f85141c
commit
e9fa16583a
|
|
@ -163,6 +163,8 @@ static int print_sample(struct action_util *au, FILE *f, struct rtattr *arg)
|
||||||
fprintf(f, " trunc_size %d",
|
fprintf(f, " trunc_size %d",
|
||||||
rta_getattr_u32(tb[TCA_SAMPLE_TRUNC_SIZE]));
|
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,
|
fprintf(f, "\n\tindex %d ref %d bind %d", p->index, p->refcnt,
|
||||||
p->bindcnt);
|
p->bindcnt);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue