projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure PMTU discovery works in switch mode with VLAN tags.
[oweals/tinc.git]
/
lib
/
ethernet.h
diff --git
a/lib/ethernet.h
b/lib/ethernet.h
index eef5f42407b17b373d425a3b905f922b9302f6b4..8bf2b03e52eb704c4ba1407202c50a810b98fbf2 100644
(file)
--- a/
lib/ethernet.h
+++ b/
lib/ethernet.h
@@
-41,6
+41,10
@@
#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];