From: Thomas Parrott Date: Thu, 4 Jun 2020 14:27:20 +0000 (+0100) Subject: macro: Adds constant for BRIDGE_VLAN_NONE mode X-Git-Tag: lxc-5.0.0~422^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53a9ba7ff4e9b968b7d2e1f88413946a553cf4eb;p=thirdparty%2Flxc.git macro: Adds constant for BRIDGE_VLAN_NONE mode Signed-off-by: Thomas Parrott --- 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