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
1 changed files with 1 additions and 1 deletions

View File

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