]> git.puffer.fish Git - matthieu/frr.git/commitdiff
vrrpd: default to accept mode = true
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 19 Feb 2019 23:42:06 +0000 (23:42 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 17 May 2019 00:27:08 +0000 (00:27 +0000)
We have no facilities to enforce accept mode = false yet so this is
updated to reflect the actual state of the system.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
vrrpd/vrrp.c

index 3a9746d5a9df652ad8500156ba306892ea734294..e0f9b5286bfc4559e153dc50160a30038f66bf0d 100644 (file)
@@ -533,7 +533,7 @@ struct vrrp_vrouter *vrrp_vrouter_create(struct interface *ifp, uint8_t vrid,
        vr->vrid = vrid;
        vr->priority = VRRP_DEFAULT_PRIORITY;
        vr->preempt_mode = true;
-       vr->accept_mode = false;
+       vr->accept_mode = true;
 
        vr->v4 = vrrp_router_create(vr, AF_INET);
        vr->v6 = vrrp_router_create(vr, AF_INET6);