Thread (2 messages) flat view 2 messages, 2 authors, 2017-04-04
STALE3438d

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

From: Roman Mashak <hidden>
Date: 2017-03-22 18:01:27
Subsystem: the rest · Maintainer: Linus Torvalds

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help