mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 16:06:20 +00:00
zebra: include old reason in evpn-mh bond update
Ensure we include the old reason when we are updating the reason code for a evpn-mh bond member. Now that this is a common API it could include things external to EVPN in this reason code bitfield (ex: vrrp). Signed-off-by: Stephen Worley <sworley@nvidia.com>
This commit is contained in:
parent
ed7a1622c3
commit
26a64ff9ca
@ -3636,7 +3636,7 @@ void zebra_evpn_mh_update_protodown_bond_mbr(struct zebra_if *zif, bool clear,
|
||||
}
|
||||
|
||||
old_protodown_rc = zif->protodown_rc;
|
||||
new_protodown_rc &= ~ZEBRA_PROTODOWN_EVPN_ALL;
|
||||
new_protodown_rc = (old_protodown_rc & ~ZEBRA_PROTODOWN_EVPN_ALL);
|
||||
new_protodown_rc |= (protodown_rc & ZEBRA_PROTODOWN_EVPN_ALL);
|
||||
new_protodown = !!new_protodown_rc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user