From: Thomas Parrott Date: Thu, 4 Jun 2020 16:02:03 +0000 (+0100) Subject: macro: Adds BRIDGE_VLAN_ID_MAX constant X-Git-Tag: lxc-5.0.0~422^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2abd5206d769e4867794bb200d6b43a8f4d0a702;p=thirdparty%2Flxc.git macro: Adds BRIDGE_VLAN_ID_MAX constant Signed-off-by: Thomas Parrott --- diff --git a/src/lxc/macro.h b/src/lxc/macro.h index 7ff0b77ac..a3cb538d1 100644 --- a/src/lxc/macro.h +++ b/src/lxc/macro.h @@ -384,6 +384,10 @@ extern int __build_bug_on_failed; #define BRIDGE_VLAN_NONE -1 /* Bridge VLAN option set to "none". */ #endif +#ifndef BRIDGE_VLAN_ID_MAX +#define BRIDGE_VLAN_ID_MAX 4094 /* Bridge VLAN MAX VLAN ID. */ +#endif + #ifndef BRIDGE_FLAGS_MASTER #define BRIDGE_FLAGS_MASTER 1 /* Bridge command to/from master */ #endif