mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 09:52:27 +00:00
bgpd: Use bgp pointer instead of peer pointer
When looking up a table, use the bgp pointer that we have. Code cleanliness and all that. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
89c73443e8
commit
802ca11f10
@ -487,7 +487,7 @@ static void revalidate_all_routes(void)
|
|||||||
safi_t safi;
|
safi_t safi;
|
||||||
|
|
||||||
FOREACH_AFI_SAFI (afi, safi) {
|
FOREACH_AFI_SAFI (afi, safi) {
|
||||||
if (!peer->bgp->rib[afi][safi])
|
if (!bgp->rib[afi][safi])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!peer_established(peer))
|
if (!peer_established(peer))
|
||||||
|
Loading…
Reference in New Issue
Block a user