[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180107183530.GB14494@nanopsycho>
Date: Sun, 7 Jan 2018 19:35:30 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Jamal Hadi Salim <jhs@...atatu.com>
Cc: stephen@...workplumber.org, netdev@...r.kernel.org,
xiyou.wangcong@...il.com
Subject: Re: [iproute2 1/1] tc: Fix filter protocol output
Sun, Jan 07, 2018 at 03:43:28PM CET, jhs@...atatu.com wrote:
>From: Jamal Hadi Salim <jhs@...atatu.com>
>
>Fixes: 249284ff5a44 ("tc: jsonify filter core")
>Signed-off-by: Jamal Hadi Salim <jhs@...atatu.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@...lanox.com>
Powered by blists - more mailing lists