]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Actually display labeled unicast routes received 2494/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 7 Jun 2018 21:10:38 +0000 (17:10 -0400)
committerpaco <paco@voltanet.io>
Tue, 19 Jun 2018 14:34:22 +0000 (16:34 +0200)
commit8416ede97c6a25c65bde91d201966d70c81e368b
tree29d3c24a47616d7696dfb424226e72e5c8a33d7f
parent088dc39bc8b5567b473d4875fc9bebf69cbb3fe1
bgpd: Actually display labeled unicast routes received

The labeled unicast and unicast tables have been combined
into the unicast table.  Additionally we have a restriction
where if you configure labeled unicast you cannot configure
unicast.  This created a bug with 'show bgp ipv4 labeled-unicast summ'
command where we were displaying NoNeg, because v4 has been intentionally
turned off.

Modify the code so that when we are looking up if we have negotiated
a capapbility we use the correct one, while still using the appropriate
table for prefix count.

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