]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network/radv: allow to send Router Advertisement from e.g. Tun interface 38175/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Jul 2025 11:30:34 +0000 (20:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Jul 2025 11:53:04 +0000 (20:53 +0900)
Sending router advertisement requires an IPv6LL address and
IFF_MULTICAST flag. The length of the hardware address is irrelevant.

Closes #38170.

src/network/networkd-radv.c

index 5daab56db43d30778ef4c031016b381f70a7f87c..bf5b9216b0589faecc20cf8ee96044111878ec65 100644 (file)
@@ -37,9 +37,6 @@ bool link_radv_enabled(Link *link) {
         if (!link_ipv6ll_enabled_harder(link))
                 return false;
 
-        if (link->hw_addr.length != ETH_ALEN)
-                return false;
-
         return link->network->router_prefix_delegation;
 }