aboutsummaryrefslogtreecommitdiff
path: root/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'if.h')
-rw-r--r--if.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/if.h b/if.h
index 6ee566d..44e4774 100644
--- a/if.h
+++ b/if.h
@@ -17,7 +17,7 @@
#define IF_MRU 1500
#define IF_COMP IF_AUTOCOMP /* Flags for compression */
-/* 2 for alignment, 14 for ethernet, 40 for TCP/IP */
-#define IF_MAXLINKHDR (2 + 14 + 40)
+/* 2 for alignment, 14 for ethernet */
+#define IF_MAXLINKHDR (2 + ETH_HLEN)
#endif