* [patch iproute2] tc: fix json array closing
@ 2017-12-13 19:56 Jiri Pirko
2017-12-14 2:19 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Pirko @ 2017-12-13 19:56 UTC (permalink / raw)
To: netdev; +Cc: stephen
From: Jiri Pirko <jiri@mellanox.com>
Fixes: 2704bd625583 ("tc: jsonify actions core")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-14 2:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-13 19:56 [patch iproute2] tc: fix json array closing Jiri Pirko
2017-12-14 2:19 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).