diff mbox

[iproute2,1/2] skbedit to default to pipe

Message ID 1387661917-29520-2-git-send-email-jhs@mojatatu.com
State Accepted, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Jamal Hadi Salim Dec. 21, 2013, 9:38 p.m. UTC
Allow skbedit to be used as is in an action chain by default
without need to specify pipe

Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
---
 tc/m_skbedit.c |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/tc/m_skbedit.c b/tc/m_skbedit.c
index cca05ed..6b582f3 100644
--- a/tc/m_skbedit.c
+++ b/tc/m_skbedit.c
@@ -99,6 +99,7 @@  parse_skbedit(struct action_util *a, int *argc_p, char ***argv_p, int tca_id,
 		argv++;
 	}
 
+	sel.action = TC_ACT_PIPE;
 	if (argc) {
 		if (matches(*argv, "reclassify") == 0) {
 			sel.action = TC_ACT_RECLASSIFY;