]> git.ipfire.org Git - thirdparty/iproute2.git/commit
mptcp: unbreak JSON endpoint list
authorDavide Caratti <dcaratti@redhat.com>
Thu, 30 Sep 2021 15:19:25 +0000 (17:19 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 4 Oct 2021 21:07:09 +0000 (14:07 -0700)
commite7a98a96f08a6efc5d474c795cef371f00db4bbf
tree205a8399e4050a67361bc84830d01f7600ac28a7
parent2f5825cb38028a14961a79844a069be4e3057eca
mptcp: unbreak JSON endpoint list

the following command:

 # ip -j mptcp endpoint show

prints a JSON array that misses the terminating bracket. Fix this calling
delete_json_obj() to balance the call to new_json_obj().

Fixes: 7e0767cd862b ("add support for mptcp netlink interface")
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Acked-by: Andrea Claudi <aclaudi@redhat.com>
ip/ipmptcp.c