network: refuse to configure IPv4LL for bareudp netdev

This commit is contained in:
Yu Watanabe 2020-09-17 15:18:18 +09:00
parent e6980c7270
commit b0486c732a

View file

@ -146,7 +146,7 @@ bool link_ipv4ll_enabled(Link *link, AddressFamily mask) {
if (STRPTR_IN_SET(link->kind, if (STRPTR_IN_SET(link->kind,
"vrf", "wireguard", "ipip", "gre", "ip6gre","ip6tnl", "sit", "vti", "vrf", "wireguard", "ipip", "gre", "ip6gre","ip6tnl", "sit", "vti",
"vti6", "nlmon", "xfrm")) "vti6", "nlmon", "xfrm", "bareudp"))
return false; return false;
/* L3 or L3S mode do not support ARP. */ /* L3 or L3S mode do not support ARP. */