X-Git-Url: http://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fethernet.h;h=2165c51e8e1481cff818c9ce5131a58d4f2a0a66;hp=085e96ad2bc11ed2eb6be65169eb44bb3d8a093a;hb=7a54fe5e884e98ade91af527c67f9c5df1452a50;hpb=4a45a65fe2555efc5b6763a293d30251755e78a8 diff --git a/src/ethernet.h b/src/ethernet.h index 085e96ad..2165c51e 100644 --- a/src/ethernet.h +++ b/src/ethernet.h @@ -45,6 +45,10 @@ #define ETH_P_8021Q 0x8100 #endif +#ifndef ETH_P_MAX +#define ETH_P_MAX 0xFFFF +#endif + #ifndef HAVE_STRUCT_ETHER_HEADER struct ether_header { uint8_t ether_dhost[ETH_ALEN];