From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamal Hadi Salim Subject: [iproute2 1/1] tc: Fix filter protocol output Date: Sun, 7 Jan 2018 09:43:28 -0500 Message-ID: <1515336208-1304-1-git-send-email-jhs@emojatatu.com> Cc: netdev@vger.kernel.org, jiri@resnulli.us, xiyou.wangcong@gmail.com, Jamal Hadi Salim To: stephen@networkplumber.org Return-path: Received: from mail-it0-f66.google.com ([209.85.214.66]:39913 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752986AbeAGOnj (ORCPT ); Sun, 7 Jan 2018 09:43:39 -0500 Received: by mail-it0-f66.google.com with SMTP id 68so6594578ite.4 for ; Sun, 07 Jan 2018 06:43:39 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: 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", "protocol %s ", ll_proto_n2a(f_proto, b1, sizeof(b1))); } -- 1.9.1