From: Jiri Pirko <jiri@resnulli.us>
To: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: stephen@networkplumber.org, netdev@vger.kernel.org,
xiyou.wangcong@gmail.com
Subject: Re: [iproute2 1/1] tc: Fix filter protocol output
Date: Sun, 7 Jan 2018 19:35:30 +0100 [thread overview]
Message-ID: <20180107183530.GB14494@nanopsycho> (raw)
In-Reply-To: <1515336208-1304-1-git-send-email-jhs@emojatatu.com>
Sun, Jan 07, 2018 at 03:43:28PM CET, jhs@mojatatu.com wrote:
>From: Jamal Hadi Salim <jhs@mojatatu.com>
>
>Fixes: 249284ff5a44 ("tc: jsonify filter core")
>Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
>---
> tc/tc_filter.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/tc/tc_filter.c b/tc/tc_filter.c
>index 545cc3a..546311a 100644
>--- a/tc/tc_filter.c
>+++ b/tc/tc_filter.c
>@@ -276,7 +276,7 @@ int print_filter(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
> if (!filter_protocol || filter_protocol != f_proto) {
> if (f_proto) {
> SPRINT_BUF(b1);
>- print_string(PRINT_JSON, "protocol",
>+ print_string(PRINT_ANY, "protocol",
ha! Thanks!
Acked-by: Jiri Pirko <jiri@mellanox.com>
next prev parent reply other threads:[~2018-01-07 18:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-07 14:43 [iproute2 1/1] tc: Fix filter protocol output Jamal Hadi Salim
2018-01-07 18:35 ` Jiri Pirko [this message]
2018-01-09 16:09 ` 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=20180107183530.GB14494@nanopsycho \
--to=jiri@resnulli.us \
--cc=jhs@mojatatu.com \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
--cc=xiyou.wangcong@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox