summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorjinsh <jinsh11@chinatelecom.cn>2021-12-18 22:57:38 +0800
committerMatthew Smith <mgsmith@netgate.com>2022-01-10 15:56:51 +0000
commit5048bc6ed51592145fcb710cdc06860f25b35e21 (patch)
treead7976f119612b3c51930785db2c9cb9dc64b297 /src/plugins
parent2b4f74ff9a48bfb1c764a4d23e00982ab347f1c3 (diff)
vrrp: vrrp in unicast mode,interface not add virtual ip addresss
Type: fix Signed-off-by: jinsh <jinsh11@chinatelecom.cn> Change-Id: Id80601bc753c59c4ea95ff5f74f9b15c40c01e35
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/vrrp/vrrp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/vrrp/vrrp.c b/src/plugins/vrrp/vrrp.c
index dbc122c5bd9..8461798e02a 100644
--- a/src/plugins/vrrp/vrrp.c
+++ b/src/plugins/vrrp/vrrp.c
@@ -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))