summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trafgen_parser.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/trafgen_parser.y b/trafgen_parser.y
index 8ebf464..54aafe7 100644
--- a/trafgen_parser.y
+++ b/trafgen_parser.y
@@ -37,6 +37,10 @@
#include "csum.h"
#include "cpp.h"
+#ifndef ETH_P_8021AD
+#define ETH_P_8021AD 0x88A8
+#endif
+
#define YYERROR_VERBOSE 0
#define YYDEBUG 0
#define YYENABLE_NLS 1