From bd0934fa6dd3ea847ab993ef985786f0b52d3b96 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Wed, 6 Mar 2019 20:00:57 +0000 Subject: Revert "vrrpd: use parent interface LLA for advert tx" This reverts commit 23e1accb0b083713ee7b0ef7fb08a0c47d4bbc85. This bug has now been fixed by preconfiguring the VRRP macvlan interfaces to use addrgenmode random instead of eui64. --- vrrpd/vrrp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'vrrpd/vrrp.c') diff --git a/vrrpd/vrrp.c b/vrrpd/vrrp.c index d4a6dfc95..cdc9e3866 100644 --- a/vrrpd/vrrp.c +++ b/vrrpd/vrrp.c @@ -918,7 +918,11 @@ static int vrrp_bind_to_primary_connected(struct vrrp_router *r) char ipstr[INET6_ADDRSTRLEN]; struct interface *ifp; - ifp = r->vr->ifp; + /* + * A slight quirk: the RFC specifies that advertisements under IPv6 must + * be transmitted using the link local address of the source interface + */ + ifp = r->family == AF_INET ? r->vr->ifp : r->mvl_ifp; struct listnode *ln; struct connected *c = NULL; -- cgit v1.2.3