]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: refuse to configure IPv4LL for bareudp netdev
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 17 Sep 2020 06:18:18 +0000 (15:18 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 17 Sep 2020 06:18:18 +0000 (15:18 +0900)
src/network/networkd-link.c

index 4194dcb1bbbd5e8b09192afb1764f697aacaa4bf..0cdd2b5121e064b7a61141cc8b2ee9ba8524a3f1 100644 (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. */