Skip to content

Commit 639779a

Browse files
authored
Merge pull request FRRouting#19861 from hnattamaisub/vrrp
vrrpd: IPv6 VRRP macvlan doesn't have IPv6 link-local address
2 parents e5d87b1 + 6893021 commit 639779a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

zebra/interface.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2110,9 +2110,10 @@ static void zebra_if_dplane_ifp_handling(struct zebra_dplane_ctx *ctx)
21102110
rc_bitfield);
21112111

21122112
if (if_is_no_ptm_operative(ifp)) {
2113-
bool is_up = if_is_operative(ifp);
21142113

21152114
ifp->flags = flags;
2115+
bool is_up = if_is_operative(ifp);
2116+
21162117
if (!if_is_no_ptm_operative(ifp) ||
21172118
CHECK_FLAG(zif->flags,
21182119
ZIF_FLAG_PROTODOWN)) {
@@ -2133,7 +2134,7 @@ static void zebra_if_dplane_ifp_handling(struct zebra_dplane_ctx *ctx)
21332134
zlog_debug(
21342135
"Intf %s(%u) PTM up, notifying clients",
21352136
name, ifp->ifindex);
2136-
if_up(ifp, !is_up);
2137+
if_up(ifp, is_up);
21372138

21382139
/*
21392140
* Update EVPN VNI when SVI MAC change

0 commit comments

Comments
 (0)