Make sure PMTU discovery works in switch mode with VLAN tags.
[oweals/tinc.git] / lib / ethernet.h
index eef5f42407b17b373d425a3b905f922b9302f6b4..8bf2b03e52eb704c4ba1407202c50a810b98fbf2 100644 (file)
 #define ETH_P_IPV6 0x86DD
 #endif
 
+#ifndef ETH_P_8021Q
+#define ETH_P_8021Q 0x8100
+#endif
+
 #ifndef HAVE_STRUCT_ETHER_HEADER
 struct ether_header {
        uint8_t ether_dhost[ETH_ALEN];