]> git.puffer.fish Git - mirror/frr.git/commit
vtysh json output not JSON for show ip bgp neigh json
authorSam Tannous <stannous@cumulusnetworks.com>
Thu, 9 Jun 2016 16:26:06 +0000 (12:26 -0400)
committerSam Tannous <stannous@cumulusnetworks.com>
Thu, 9 Jun 2016 16:26:06 +0000 (12:26 -0400)
commitdd9275d64122751d129df36d5e684c1d4457a7ae
tree4c8d9fe3bb44650b71cb838dc5b03898091cc88d
parentda688ecdde70f7325954e5c9a109cb0ff85eeff0
vtysh json output not JSON for show ip bgp neigh json

Ticket: CM-11350
Reviewed By: dsharp
Testing Done: built amd64 images and tested output of both json and non-json

Upstream patch was applied in wrong section of code so JSON
output contained plain text.   The upstream patch was
commit baa376fc1 (cherry picked from ef757700d0f)

This patch moves the text output to the correct if clause
and also adds a new JSON line for the same data.

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