From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [iproute2 1/1] tc: Fix filter protocol output Date: Sun, 7 Jan 2018 19:35:30 +0100 Message-ID: <20180107183530.GB14494@nanopsycho> References: <1515336208-1304-1-git-send-email-jhs@emojatatu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: stephen@networkplumber.org, netdev@vger.kernel.org, xiyou.wangcong@gmail.com To: Jamal Hadi Salim Return-path: Received: from mail-wr0-f173.google.com ([209.85.128.173]:37133 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754394AbeAGSfc (ORCPT ); Sun, 7 Jan 2018 13:35:32 -0500 Received: by mail-wr0-f173.google.com with SMTP id f8so8672241wre.4 for ; Sun, 07 Jan 2018 10:35:32 -0800 (PST) Content-Disposition: inline In-Reply-To: <1515336208-1304-1-git-send-email-jhs@emojatatu.com> Sender: netdev-owner@vger.kernel.org List-ID: Sun, Jan 07, 2018 at 03:43:28PM CET, jhs@mojatatu.com wrote: >From: Jamal Hadi Salim > >Fixes: 249284ff5a44 ("tc: jsonify filter core") >Signed-off-by: Jamal Hadi Salim >--- > 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