From: Jiri Pirko Subject: [patch iproute2] tc: fix json array closing Date: Wed, 13 Dec 2017 20:56:16 +0100 Message-ID: <20171213195616.2548-1-jiri@resnulli.us> Cc: stephen@networkplumber.org To: netdev@vger.kernel.org Return-path: Received: from mail-wr0-f194.google.com ([209.85.128.194]:41458 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751644AbdLMT4T (ORCPT ); Wed, 13 Dec 2017 14:56:19 -0500 Received: by mail-wr0-f194.google.com with SMTP id z18so3164122wrb.8 for ; Wed, 13 Dec 2017 11:56:18 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: From: Jiri Pirko Fixes: 2704bd625583 ("tc: jsonify actions core") Signed-off-by: Jiri Pirko --- tc/m_action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tc/m_action.c b/tc/m_action.c index 13f942b..8185819 100644 --- a/tc/m_action.c +++ b/tc/m_action.c @@ -378,7 +378,7 @@ tc_print_action(FILE *f, const struct rtattr *arg, unsigned short tot_acts) } } - close_json_object(); + close_json_array(PRINT_JSON, NULL); return 0; } -- 2.9.5