]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: Fixup json with RouteDistinguishers
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 5 Oct 2017 14:11:36 +0000 (10:11 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 5 Oct 2017 14:12:00 +0000 (10:12 -0400)
commit445c24803d0b961da911d1bc28f327918fc14f7b
treecd611bf7b8b88d608a6f4f8d1d37610381d40710
parent98ce9a06b4777edf22cb4bb247dacc6b50706856
bgpd: Fixup json with RouteDistinguishers

The json option for displaying a bgp table
with route Distinguishers in it was not properly
working.  This code cleans this issue up.

Additionally attempt to make the code a bit
easier to read and handle.

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