diff options
author | Stephen Worley <sworley@nvidia.com> | 2022-02-15 18:35:02 +0100 |
---|---|---|
committer | Stephen Worley <sworley@nvidia.com> | 2022-03-10 00:02:44 +0100 |
commit | cb5b31f5d011d3dcb2df5d876447fb3c7f758e6a (patch) | |
tree | c1e05838efab45ab0c1bf0deba5d9bfc98a976b7 /zebra/zebra_evpn_mh.c | |
parent | zebra: extern setting protodown reason directly (diff) | |
download | frr-cb5b31f5d011d3dcb2df5d876447fb3c7f758e6a.tar.xz frr-cb5b31f5d011d3dcb2df5d876447fb3c7f758e6a.zip |
zebra: evpn-mh use protodown update reason api
When setting the protodown reason use the update api
where we can directly update the entire reason bitfield
since we have to set more than one.
Signed-off-by: Stephen Worley <sworley@nvidia.com>
Diffstat (limited to 'zebra/zebra_evpn_mh.c')
-rw-r--r-- | zebra/zebra_evpn_mh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_evpn_mh.c b/zebra/zebra_evpn_mh.c index 463ede158..bc050671c 100644 --- a/zebra/zebra_evpn_mh.c +++ b/zebra/zebra_evpn_mh.c @@ -3646,8 +3646,8 @@ void zebra_evpn_mh_update_protodown_bond_mbr(struct zebra_if *zif, bool clear, caller, zif->ifp->name, old_protodown_rc, new_protodown_rc); - if (zebra_if_set_protodown(zif->ifp, new_protodown, new_protodown_rc) == - 0) { + if (zebra_if_update_protodown_rc(zif->ifp, new_protodown, + new_protodown_rc) == 0) { if (IS_ZEBRA_DEBUG_EVPN_MH_ES) zlog_debug("%s protodown %s", zif->ifp->name, new_protodown ? "on" : "off"); |