From: Quentin Young Date: Tue, 12 Feb 2019 20:41:43 +0000 (+0000) Subject: vrrpd: fix bug in v6 autoconfiguration X-Git-Tag: base_7.2~330^2~88 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9e006c64eb4c687cfd15a2d0765943b7ea624142;p=mirror%2Ffrr.git vrrpd: fix bug in v6 autoconfiguration Typo caused the IPv4 VRRP router to be shutdown instead of the IPv6 one, and sometimes a crash. Signed-off-by: Quentin Young --- diff --git a/vrrpd/vrrp.c b/vrrpd/vrrp.c index 85b8435a77..7e8ce50c13 100644 --- a/vrrpd/vrrp.c +++ b/vrrpd/vrrp.c @@ -1369,7 +1369,7 @@ static void vrrp_autoconfig_autoaddrupdate(struct vrrp_vrouter *vr) VRRP_LOGPFX VRRP_LOGPFX_VRID "IPv6 Virtual IP list is empty; shutting down", vr->vrid); - vrrp_event(vr->v4, VRRP_EVENT_SHUTDOWN); + vrrp_event(vr->v6, VRRP_EVENT_SHUTDOWN); } }