diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-12 20:41:43 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-17 00:27:08 +0000 |
| commit | 9e006c64eb4c687cfd15a2d0765943b7ea624142 (patch) | |
| tree | c7287bb65d300fc57261c829b44dcfb1ca0b8ecd | |
| parent | b637bcd4456f86f4e2a230fbe765e5a212b77c3f (diff) | |
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 <qlyoung@cumulusnetworks.com>
| -rw-r--r-- | vrrpd/vrrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |
