summaryrefslogtreecommitdiff
path: root/src/network/networkd-vxlan.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-06-20 19:45:45 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-06-20 22:05:43 -0400
commit81577dc22887debaf9b19bf1034a2887fb9069c7 (patch)
tree696ec5ebfcee52a1257dd9a1f1d1054b08779ecb /src/network/networkd-vxlan.c
parent747cf8cdf61cdad068c727e42eac699f2505ae77 (diff)
missing.h: add various network enums
We used to check if e.g. IFLA_BOND_MAX is defined and provide fallback values in missing.h is it wasn't. But over time, various kernel versions added IFLA_* defines, so checking for IFLA_BOND_MAX is not enough if the kernel is new enough to have some of them but too old to have all. In case we detect that the latest known enum value is missing, #define most of them. https://bugs.freedesktop.org/show_bug.cgi?id=80095
Diffstat (limited to 'src/network/networkd-vxlan.c')
-rw-r--r--src/network/networkd-vxlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-vxlan.c b/src/network/networkd-vxlan.c
index d6721222f2..6533f876a7 100644
--- a/src/network/networkd-vxlan.c
+++ b/src/network/networkd-vxlan.c
@@ -25,6 +25,7 @@
#include "sd-rtnl.h"
#include "networkd.h"
+#include "missing.h"
static int netdev_fill_vxlan_rtnl_message(NetDev *netdev, Link *link, sd_rtnl_message *m) {