diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-12-13 20:56:16 +0100 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2017-12-13 18:16:27 -0800 |
commit | 1876ab0779df6e37ac294d414473c9b34f21567d (patch) | |
tree | 23fad4ca4c27f06e146b3fb01be9c2a0ce7400ac | |
parent | 7827b37603f6ec575d303c7417b1991e93c6439e (diff) | |
download | iproute2-1876ab0779df6e37ac294d414473c9b34f21567d.tar.gz |
tc: fix json array closing
Fixes: 2704bd625583 ("tc: jsonify actions core")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-rw-r--r-- | tc/m_action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tc/m_action.c b/tc/m_action.c index 13f942bf..8185819d 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; } |