vrrp: vrrp in unicast mode,interface not add virtual ip addresss 68/34768/2
authorjinsh <jinsh11@chinatelecom.cn>
Sat, 18 Dec 2021 14:57:38 +0000 (22:57 +0800)
committerMatthew Smith <mgsmith@netgate.com>
Mon, 10 Jan 2022 15:56:51 +0000 (15:56 +0000)
Type: fix

Signed-off-by: jinsh <jinsh11@chinatelecom.cn>
Change-Id: Id80601bc753c59c4ea95ff5f74f9b15c40c01e35

src/plugins/vrrp/vrrp.c

index dbc122c..8461798 100644 (file)
@@ -227,9 +227,6 @@ vrrp_vr_transition_addrs (vrrp_vr_t * vr, vrrp_vr_state_t new_state)
   if (vrrp_vr_is_owner (vr))
     return;
 
-  if (vrrp_vr_is_unicast (vr))
-    return;
-
   /* only need to do something if entering or leaving master state */
   if ((vr->runtime.state != VRRP_VR_STATE_MASTER) &&
       (new_state != VRRP_VR_STATE_MASTER))