diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-08-26 18:11:07 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-09-10 08:31:25 -0400 |
| commit | 7b1158b169f59729bdde704539371cd419fe2138 (patch) | |
| tree | 99838f12681fb1d1afad8600505fb68717e8f78d /bgpd/bgp_mac.c | |
| parent | d1e7215da064eab02be7c1874cab27a6b7d0cacf (diff) | |
bgpd: peer_established should be connection oriented
The peer_established function should be connection oriented.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_mac.c')
| -rw-r--r-- | bgpd/bgp_mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_mac.c b/bgpd/bgp_mac.c index 0398e4e8c1..e629732c78 100644 --- a/bgpd/bgp_mac.c +++ b/bgpd/bgp_mac.c @@ -219,7 +219,7 @@ static void bgp_mac_rescan_evpn_table(struct bgp *bgp, struct ethaddr *macaddr) if (CHECK_FLAG(peer->sflags, PEER_STATUS_GROUP)) continue; - if (!peer_established(peer)) + if (!peer_established(peer->connection)) continue; if (bgp_debug_update(peer, NULL, NULL, 1)) |
