Merge pull request #2383 from donaldsharp/bgp_lunicast

bgpd: Actually display labeled unicast routes received
This commit is contained in:
Russ White 2018-06-08 07:04:46 -04:00 committed by GitHub
commit c4a81cae7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7979,7 +7979,7 @@ static int bgp_show_summary(struct vty *vty, struct bgp *bgp, int afi, int safi,
BGP_UPTIME_LEN, 0, NULL));
if (peer->status == Established)
if (peer->afc_recv[afi][pfx_rcd_safi])
if (peer->afc_recv[afi][safi])
vty_out(vty, " %12ld",
peer->pcount[afi]
[pfx_rcd_safi]);