Skip to contentSkip to conversation

tc: fix json array closing

PATCH In review Jiri Pirko 2 participants 2 messages Dec 13, 2017 – Dec 14, 2017

Subsystems (2)
lore
Share & tools
lore

Jiri Pirko

author
#0 lore raw

PATCH 1/1 tc: fix json array closing

From: Jiri Pirko <[email protected]>

Fixes 2704bd625583 ("tc: jsonify actions core")
---
 tc/m_action.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tc/m_action.c +1 -1
index 13f942b..8185819 100644
@@ -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;
 }
Signature · 1 line
2.9.5