summaryrefslogtreecommitdiffstats
path: root/sys/dev/bfe
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-05-25 11:33:19 +0000
committerdes <des@FreeBSD.org>2004-05-25 11:33:19 +0000
commitae4655e3807c46124bd3da2c83f56daecd8d487a (patch)
treea08cc13b80684be751cbc70376a788bab4688f35 /sys/dev/bfe
parent86892f1e9c3975cd2e94e13236f384372fb22c9c (diff)
downloadFreeBSD-src-ae4655e3807c46124bd3da2c83f56daecd8d487a.zip
FreeBSD-src-ae4655e3807c46124bd3da2c83f56daecd8d487a.tar.gz
Set the IFCAP_VLAN_MTU bit in capenable as well.
Reminded by: ru
Diffstat (limited to 'sys/dev/bfe')
-rw-r--r--sys/dev/bfe/if_bfe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/bfe/if_bfe.c b/sys/dev/bfe/if_bfe.c
index 6fdfb9a..e7fe9e4 100644
--- a/sys/dev/bfe/if_bfe.c
+++ b/sys/dev/bfe/if_bfe.c
@@ -423,6 +423,7 @@ bfe_attach(device_t dev)
*/
ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
ifp->if_capabilities |= IFCAP_VLAN_MTU;
+ ifp->if_capenable |= IFCAP_VLAN_MTU;
/*
* Hook interrupt last to avoid having to lock softc
OpenPOWER on IntegriCloud