All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roman Mashak <mrv@mojatatu.com>
To: stephen@networkplumber.org
Cc: netdev@vger.kernel.org, Roman Mashak <mrv@mojatatu.com>
Subject: [PATCH iproute2 1/1] tc: print skbedit action when dumping actions.
Date: Wed, 22 Mar 2017 14:00:31 -0400	[thread overview]
Message-ID: <1490205631-16494-1-git-send-email-mrv@mojatatu.com> (raw)

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
---
 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

             reply	other threads:[~2017-03-22 18:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-22 18:00 Roman Mashak [this message]
2017-04-04 21:49 ` [PATCH iproute2 1/1] tc: print skbedit action when dumping actions Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1490205631-16494-1-git-send-email-mrv@mojatatu.com \
    --to=mrv@mojatatu.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.