network: refuse to configure IPv4LL for bareudp netdev
This commit is contained in:
parent
e6980c7270
commit
b0486c732a
|
@ -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. */
|
||||||
|
|
Loading…
Reference in a new issue