We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e5d87b1 + 6893021 commit 639779aCopy full SHA for 639779a
zebra/interface.c
@@ -2110,9 +2110,10 @@ static void zebra_if_dplane_ifp_handling(struct zebra_dplane_ctx *ctx)
2110
rc_bitfield);
2111
2112
if (if_is_no_ptm_operative(ifp)) {
2113
- bool is_up = if_is_operative(ifp);
2114
2115
ifp->flags = flags;
+ bool is_up = if_is_operative(ifp);
2116
+
2117
if (!if_is_no_ptm_operative(ifp) ||
2118
CHECK_FLAG(zif->flags,
2119
ZIF_FLAG_PROTODOWN)) {
@@ -2133,7 +2134,7 @@ static void zebra_if_dplane_ifp_handling(struct zebra_dplane_ctx *ctx)
2133
2134
zlog_debug(
2135
"Intf %s(%u) PTM up, notifying clients",
2136
name, ifp->ifindex);
- if_up(ifp, !is_up);
2137
+ if_up(ifp, is_up);
2138
2139
/*
2140
* Update EVPN VNI when SVI MAC change
0 commit comments