[PATCH iproute2 1/1] tc: print skbedit action when dumping actions.

Subsystems: the rest

STALE3406d

2 messages, 2 authors, 2017-04-04 · open the first message on its own page

[PATCH iproute2 1/1] tc: print skbedit action when dumping actions.

From: Roman Mashak <hidden>
Date: 2017-03-22 18:01:27

Signed-off-by: Roman Mashak <redacted>
---
 tc/m_skbedit.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/tc/m_skbedit.c b/tc/m_skbedit.c
index 8660d60..638715f 100644
--- a/tc/m_skbedit.c
+++ b/tc/m_skbedit.c
@@ -214,6 +214,8 @@ static int print_skbedit(struct action_util *au, FILE *f, struct rtattr *arg)
 			fprintf(f, " ptype %d", *ptype);
 	}
 
+	fprintf(f, " %s", action_n2a(p->action));
+
 	fprintf(f, "\n\t index %u ref %d bind %d",
 		p->index, p->refcnt, p->bindcnt);
 
-- 
1.9.1

Re: [PATCH iproute2 1/1] tc: print skbedit action when dumping actions.

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-04-04 21:49:36

On Wed, 22 Mar 2017 14:00:31 -0400
Roman Mashak [off-list ref] wrote:
Signed-off-by: Roman Mashak <redacted>
Makes sense. Applied
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help