]> git.puffer.fish Git - mirror/frr.git/commitdiff
vrrpd: unset active flag on shutdown
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 25 Jan 2019 16:26:13 +0000 (16:26 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 17 May 2019 00:27:08 +0000 (00:27 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
vrrpd/vrrp.c

index 9793eaf00f75dca20d6c817954a6d21f8e8062c2..f0f7aedb854a55c037dba6e121a1cd12d5735c9c 100644 (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;
 }