]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_vty.c
bgpd: Actually display labeled unicast routes received
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 7 Jun 2018 21:10:38 +0000 (17:10 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 7 Jun 2018 21:10:38 +0000 (17:10 -0400)
commit2f8f4f1001e319ea92c313a3ec2184e9a49c0fa1
treee42e4f9cbed97fed30535a8f61500cb1ac82bfb1
parent3b72cd11929ac35158e20ca98899e40bc6197f7d
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