Interface MACs for v6 macvlan devices are the same, so the link local
address will be the same, which breaks mastership election based on
primary address comparison. Use the parent interface link local address.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
char ipstr[INET6_ADDRSTRLEN];
struct interface *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;
+ ifp = r->vr->ifp;
struct listnode *ln;
struct connected *c = NULL;