]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: sd-ipv4ll and sd-ipv4acd only support ethernet interfaces
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 9 Dec 2021 07:38:02 +0000 (16:38 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 9 Dec 2021 14:04:43 +0000 (15:04 +0100)
commit71df07760ed58c8ba4a622f2aa83a16d99e264fc
treef1a96438e97493dbde3b71874062e964b8cf01c0
parent014e7dffd4d28b5827cd044546b216367126b17b
network: sd-ipv4ll and sd-ipv4acd only support ethernet interfaces

The deny list in link_ipv4ll_enabled() are mostly non-ethernet type,
whose link->iftype are not ARPHRD_ETHER, e.g. ARPHRD_NONE for bareudp,
ARPHRD_WIREGURAD for wireguard, ARPHRD_GRE for gre, and so on.

Only the exception is vrf, which is ARPHRD_ETHER, but seems not to
support ARP.
src/network/networkd-link.c