aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/common_linux.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index bfc4788c7..618425bed 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -319,9 +319,8 @@ static void netlink_add_macvlan(struct nlmsg* nlmsg, int sock, const char* name,
#define IFLA_IPVLAN_FLAGS 2
#define IPVLAN_MODE_L3S 2
-#ifndef IPVLAN_F_VEPA
+#undef IPVLAN_F_VEPA
#define IPVLAN_F_VEPA 2
-#endif
static void netlink_add_ipvlan(struct nlmsg* nlmsg, int sock, const char* name, const char* link, uint16 mode, uint16 flags)
{