]> git.puffer.fish Git - matthieu/frr.git/commit
vrrpd: properly find iface in manual cfg mode
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 8 Feb 2019 19:47:55 +0000 (19:47 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 17 May 2019 00:27:08 +0000 (00:27 +0000)
commit1b1f3c43cfbac93eba5edb89b5d4d840718d9e09
treee511712c7eb256d20181e3ef052b92687b7df67e
parent53e60e5c5819ea3a602d1bd60b50b0b30caf7702
vrrpd: properly find iface in manual cfg mode

As a crutch, interface search when manually configuring VRRP on an
interface did a prefix match on the name of macvlan interfaces,
comparing its name to the name of the interface VRRP was configured on
in order to determine if the interface under question was a subinterface
of the configured interface. This is obviously fragile and prone to
failure. We now pass up parent interface info from Zebra so use that
instead to correctly deduce parent-child relationships.

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