tc: fix json array closing

Fixes: 2704bd6255 ("tc: jsonify actions core")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
This commit is contained in:
Jiri Pirko 2017-12-13 20:56:16 +01:00 committed by Stephen Hemminger
parent 7827b37603
commit 1876ab0779
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}