]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
macro: Adds constant for BRIDGE_VLAN_NONE mode
authorThomas Parrott <thomas.parrott@canonical.com>
Thu, 4 Jun 2020 14:27:20 +0000 (15:27 +0100)
committerThomas Parrott <thomas.parrott@canonical.com>
Mon, 8 Jun 2020 12:27:07 +0000 (13:27 +0100)
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
src/lxc/macro.h

index 50cbb3434131f580807536f4634587f0d2a0c208..7ff0b77acd085197525ed0eaaf280cba0508257d 100644 (file)
@@ -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