summaryrefslogtreecommitdiffstats
path: root/sys/dev/hme
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2004-05-23 19:21:48 +0000
committeryar <yar@FreeBSD.org>2004-05-23 19:21:48 +0000
commite7b7db73cdcde5672ab1feb5c38dea7bbd29054b (patch)
tree03dd2e8d71902ce2ab8719b9af2f207a65b99ed7 /sys/dev/hme
parentaead6fc9921c390656d761462e2198cb0b1fda3d (diff)
downloadFreeBSD-src-e7b7db73cdcde5672ab1feb5c38dea7bbd29054b.zip
FreeBSD-src-e7b7db73cdcde5672ab1feb5c38dea7bbd29054b.tar.gz
Mark the VLAN_MTU capability as initially enabled since it's
hardcoded to "ON" for these interfaces.
Diffstat (limited to 'sys/dev/hme')
-rw-r--r--sys/dev/hme/if_hme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c
index 46cc6d6..e2c22fa 100644
--- a/sys/dev/hme/if_hme.c
+++ b/sys/dev/hme/if_hme.c
@@ -319,6 +319,7 @@ hme_config(struct hme_softc *sc)
*/
ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
ifp->if_capabilities |= IFCAP_VLAN_MTU;
+ ifp->if_capenable |= IFCAP_VLAN_MTU;
callout_init(&sc->sc_tick_ch, 0);
return (0);
OpenPOWER on IntegriCloud