From: Quentin Young Date: Fri, 25 Jan 2019 16:26:13 +0000 (+0000) Subject: vrrpd: unset active flag on shutdown X-Git-Tag: base_7.2~330^2~121 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=73b5cb19683b85df197ee5ae28155e194df14d0d;p=mirror%2Ffrr.git vrrpd: unset active flag on shutdown Signed-off-by: Quentin Young --- diff --git a/vrrpd/vrrp.c b/vrrpd/vrrp.c index 9793eaf00f..f0f7aedb85 100644 --- a/vrrpd/vrrp.c +++ b/vrrpd/vrrp.c @@ -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; }