mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge pull request #18564 from routingrocks/rvaratharaj/bug_fix_bgp
bgpd: Skip EVPN MAC processing for non-EVPN peers
This commit is contained in:
commit
b977a0541c
|
@ -219,6 +219,9 @@ static void bgp_mac_rescan_evpn_table(struct bgp *bgp, struct ethaddr *macaddr)
|
|||
if (!peer_established(peer->connection))
|
||||
continue;
|
||||
|
||||
if (!peer->afc[afi][safi])
|
||||
continue;
|
||||
|
||||
if (bgp_debug_update(peer, NULL, NULL, 1))
|
||||
zlog_debug(
|
||||
"Processing EVPN MAC interface change on peer %s %s",
|
||||
|
|
Loading…
Reference in a new issue