aboutsummaryrefslogtreecommitdiff
path: root/net/tcptrace/files/patch-tcptrace.h.diff
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcptrace/files/patch-tcptrace.h.diff')
-rw-r--r--net/tcptrace/files/patch-tcptrace.h.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/tcptrace/files/patch-tcptrace.h.diff b/net/tcptrace/files/patch-tcptrace.h.diff
new file mode 100644
index 000000000000..8c3a44487abb
--- /dev/null
+++ b/net/tcptrace/files/patch-tcptrace.h.diff
@@ -0,0 +1,13 @@
+--- tcptrace.h.orig Thu May 5 18:41:47 2005
++++ tcptrace.h Thu May 5 18:41:53 2005
+@@ -1182,6 +1182,10 @@
+ #define ETHERTYPE_VLAN 0x8100
+ #endif /* 802.1Q Virtual LAN */
+
++#ifndef ETHER_VLAN_ENCAP_LEN
++#define ETHER_VLAN_ENCAP_LEN 4
++#endif /* 802.1Q tag header length */
++
+ /* support for PPPoE encapsulation added by Yann Samama (ysamama@nortelnetworks.com)*/
+ #ifndef ETHERTYPE_PPPOE_SESSION
+ #define ETHERTYPE_PPPOE_SESSION 0x8864