summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2003-06-18 15:35:47 +0000
committerjason <jason@openbsd.org>2003-06-18 15:35:47 +0000
commit8078f84dd4f5d4cad75f4f7432bb797d4528cc8f (patch)
tree22ebfcb3d89be08f818e411d60783aab3af36d17 /sys/dev
parentregen, my bad (diff)
downloadwireguard-openbsd-8078f84dd4f5d4cad75f4f7432bb797d4528cc8f.tar.xz
wireguard-openbsd-8078f84dd4f5d4cad75f4f7432bb797d4528cc8f.zip
we already set the rx descriptor length to accept vlan packets... just
need to advertise the capability; tested by tsar at polarcap dot org
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/hme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/hme.c b/sys/dev/ic/hme.c
index 0d4ee3b2a5f..818a5b3b096 100644
--- a/sys/dev/ic/hme.c
+++ b/sys/dev/ic/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.28 2003/04/27 11:22:52 ho Exp $ */
+/* $OpenBSD: hme.c,v 1.29 2003/06/18 15:35:47 jason Exp $ */
/* $NetBSD: hme.c,v 1.21 2001/07/07 15:59:37 thorpej Exp $ */
/*-
@@ -241,6 +241,7 @@ hme_config(sc)
ifp->if_flags =
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
IFQ_SET_READY(&ifp->if_snd);
+ ifp->if_capabilities |= IFCAP_VLAN_MTU;
/* Initialize ifmedia structures and MII info */
mii->mii_ifp = ifp;