From 53a9ba7ff4e9b968b7d2e1f88413946a553cf4eb Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Thu, 4 Jun 2020 15:27:20 +0100 Subject: [PATCH] macro: Adds constant for BRIDGE_VLAN_NONE mode Signed-off-by: Thomas Parrott --- src/lxc/macro.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lxc/macro.h b/src/lxc/macro.h index 50cbb3434..7ff0b77ac 100644 --- a/src/lxc/macro.h +++ b/src/lxc/macro.h @@ -380,6 +380,10 @@ extern int __build_bug_on_failed; #define IPVLAN_ISOLATION_VEPA 2 #endif +#ifndef BRIDGE_VLAN_NONE +#define BRIDGE_VLAN_NONE -1 /* Bridge VLAN option set to "none". */ +#endif + #ifndef BRIDGE_FLAGS_MASTER #define BRIDGE_FLAGS_MASTER 1 /* Bridge command to/from master */ #endif -- 2.47.2