summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tun.c b/tun.c
index 5d0a30e..45747a0 100644
--- a/tun.c
+++ b/tun.c
@@ -58,8 +58,8 @@ static bool is_server = false;
static pcap_file *pcap = NULL;
/* bytes for taking into account framing.
- * 14 is the usual Ethernet framing */
-unsigned framing_bytes = 14;
+ * 14 is the usual Ethernet framing, 4 CRC */
+unsigned framing_bytes = 14 + 4;
const char *tun_log_filename = NULL;