diff mbox series

[iproute2,1/1] tc: print actual action for connmark action

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

Commit Message

Roman Mashak March 20, 2018, 5:45 p.m. UTC
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
---
 tc/m_connmark.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Stephen Hemminger March 27, 2018, 4:03 p.m. UTC | #1
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 mbox series

Patch

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);