summaryrefslogtreecommitdiff
path: root/sys/dev/ic/gem.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-09-21 21:35:54 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-09-21 21:35:54 +0000
commit22e5d570a08b03b1fbf6538eb9346b47015c3469 (patch)
tree867c74c68e39813d1ce69dae61612c7b2e45c343 /sys/dev/ic/gem.c
parent74c8a8d422b52a2200221193b3b0d7709bc8fc90 (diff)
another ETHERMTU + sizeof(struct ether_header) problem
Diffstat (limited to 'sys/dev/ic/gem.c')
-rw-r--r--sys/dev/ic/gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c
index 21d07d530b2..a6f9c357b60 100644
--- a/sys/dev/ic/gem.c
+++ b/sys/dev/ic/gem.c
@@ -748,7 +748,7 @@ if (gem_opdebug) printf("in init\n");
/* step 4. TX MAC registers & counters */
gem_init_regs(sc);
- v = ETHERMTU +
+ v = ETHERMTU + sizeof(struct ether_header) +
#if NVLAN > 0
EVL_ENCAPLEN +
#endif