]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix crash in various 'show bgp neighbor json' commands
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 23:21:08 +0000 (18:21 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 26 Jan 2019 01:28:23 +0000 (20:28 -0500)
commitb77004d63213111525727ec6974899b441b6aca9
tree7d7a840ba5c15ecc09af040c64a327b90e9af901
parentd57e451387215a2667e07f691494694d14dd5132
bgpd: Fix crash in various 'show bgp neighbor json' commands

bgp would crash with various `show bgp neighbor json` commands
based upon whether or not it did a pretty print of the output
or not.  This is because we were freeing the data 2 times.
Cleanup so that we free the json data 1 time.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_vty.c