diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c index 4193b510931..06c4366b704 100644 --- a/src/network/networkd-ndisc.c +++ b/src/network/networkd-ndisc.c @@ -6,6 +6,7 @@ #include #include #include +#include #include "sd-ndisc.h" @@ -34,6 +35,9 @@ bool link_ipv6_accept_ra_enabled(Link *link) { if (link->flags & IFF_LOOPBACK) return false; + if (link->iftype == ARPHRD_CAN) + return false; + if (link->hw_addr.length != ETH_ALEN && !streq_ptr(link->kind, "wwan")) /* Currently, only interfaces whose MAC address length is ETH_ALEN are supported. * Note, wwan interfaces may be assigned MAC address slightly later.