ETH_P_8021AD might be undefined on 2.6.x Linux version (tested on Ubuntu 10 with 2.6.32 Linux), so lets check and define it.
Signed-off-by: Vadim Kochan <vadi...@gmail.com> --- trafgen_parser.y | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.10.2 -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.