]> git.proxmox.com Git - mirror_frr.git/commit - vrrpd/vrrp.h
vrrpd: elect self to Master when owning v4 address
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 10 Dec 2018 22:16:10 +0000 (22:16 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 17 May 2019 00:27:08 +0000 (00:27 +0000)
commit5d3730c5f14c4cf60d965093ff4945101092be9e
treebca6f8876f6e395eaec5da3c36f10bfdcb6fa8c9
parent3e7a4043ff23b77901b5a3ccd980efac577bb59d
vrrpd: elect self to Master when owning v4 address

If the primary address is v4, and we own the address on our configured
interface, set ourselves to Master.

This introduces the concept of a separate priority value used to store
the configured vs effective priority.

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