vrrpd: unset active flag on shutdown

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2019-01-25 16:26:13 +00:00
parent bac08ded23
commit 73b5cb1968

View File

@ -1087,6 +1087,8 @@ static int vrrp_shutdown(struct vrrp_router *r)
/* Transition to the Initialize state */
vrrp_change_state(r, VRRP_STATE_INITIALIZE);
r->is_active = false;
return 0;
}