Set the IFCAP_VLAN_MTU bit in capenable as well.

Reminded by:	ru
This commit is contained in:
Dag-Erling Smørgrav 2004-05-25 11:33:19 +00:00
parent 912bf9d37c
commit df7593b5a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129709

View File

@ -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