summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-04-15 03:16:08 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-04-15 03:16:08 +0000
commit91f55e51f34cbaf030db852f5991a3ab7a1d8d67 (patch)
treed6092ed361528347b3a726114e0dfc999f529b6a
parentec798c18ff86d0ef7aa54c507ae33479f9448436 (diff)
re(4) cannot handle a standard sized Jumbo frame.
-rw-r--r--sys/dev/ic/re.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c
index a1525ac66d6..fc83e48b9bb 100644
--- a/sys/dev/ic/re.c
+++ b/sys/dev/ic/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.7 2005/04/14 20:23:31 brad Exp $ */
+/* $OpenBSD: re.c,v 1.8 2005/04/15 03:16:07 brad Exp $ */
/* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -1846,7 +1846,7 @@ re_ioctl(ifp, command, data)
}
break;
case SIOCSIFMTU:
- if (ifr->ifr_mtu > ETHERMTU_JUMBO)
+ if (ifr->ifr_mtu > RL_JUMBO_MTU)
error = EINVAL;
ifp->if_mtu = ifr->ifr_mtu;
break;