* [PATCH iproute2 1/1] tc: print actual action for sample action
@ 2018-03-13 13:57 Roman Mashak
2018-03-16 20:39 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Roman Mashak @ 2018-03-13 13:57 UTC (permalink / raw)
To: stephen; +Cc: netdev, kernel, jhs, xiyou.wangcong, jiri, Roman Mashak
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
---
tc/m_sample.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tc/m_sample.c b/tc/m_sample.c
index ff5ee6bd1ef6..d88846c63be3 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);
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH iproute2 1/1] tc: print actual action for sample action
2018-03-13 13:57 [PATCH iproute2 1/1] tc: print actual action for sample action Roman Mashak
@ 2018-03-16 20:39 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2018-03-16 20:39 UTC (permalink / raw)
To: Roman Mashak; +Cc: netdev, kernel, jhs, xiyou.wangcong, jiri
On Tue, 13 Mar 2018 09:57:10 -0400
Roman Mashak <mrv@mojatatu.com> wrote:
> Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Thanks for catching this, applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-16 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-13 13:57 [PATCH iproute2 1/1] tc: print actual action for sample action Roman Mashak
2018-03-16 20:39 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).