mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 08:32:45 +00:00
zebra: Fix show ip route for ibgp only routes
When 'show ip route summ' is entered and there are only ibgp routes they are not being displayed. This commit fixes this issue. Ticket: CM-10931 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
parent
54b7214fb9
commit
3ff8613314
@ -2649,7 +2649,8 @@ vty_show_ip_route_summary (struct vty *vty, struct route_table *table)
|
||||
|
||||
for (i = 0; i < ZEBRA_ROUTE_MAX; i++)
|
||||
{
|
||||
if (rib_cnt[i] > 0)
|
||||
if ((rib_cnt[i] > 0) ||
|
||||
(i == ZEBRA_ROUTE_BGP && rib_cnt[ZEBRA_ROUTE_IBGP] > 0))
|
||||
{
|
||||
if (i == ZEBRA_ROUTE_BGP)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user