Message ID | 1521567938-12408-1-git-send-email-mrv@mojatatu.com |
---|---|
State | Accepted, archived |
Delegated to: | stephen hemminger |
Headers | show |
Series | [iproute2,1/1] tc: print actual action for connmark action | expand |
On Tue, 20 Mar 2018 13:45:38 -0400 Roman Mashak <mrv@mojatatu.com> wrote: > Signed-off-by: Roman Mashak <mrv@mojatatu.com> > --- > tc/m_connmark.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Applied
diff --git a/tc/m_connmark.c b/tc/m_connmark.c index 37d718541549..d5b140cbb7bd 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);
Signed-off-by: Roman Mashak <mrv@mojatatu.com> --- tc/m_connmark.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)