From: Jiri Pirko Date: Wed, 13 Dec 2017 19:56:16 +0000 (+0100) Subject: tc: fix json array closing X-Git-Tag: v4.15.0~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1876ab0779df6e37ac294d414473c9b34f21567d;p=thirdparty%2Fiproute2.git tc: fix json array closing Fixes: 2704bd625583 ("tc: jsonify actions core") Signed-off-by: Jiri Pirko --- diff --git a/tc/m_action.c b/tc/m_action.c index 13f942bfc..8185819db 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; }