From 21ce2bf2908f0cf4d393cab1e4c86c8e4ab585b4 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Fri, 21 May 2004 18:11:38 +0000 Subject: [PATCH] The driver fxp(4) has reception of large frames enabled hardcodedly, so let VLAN_MTU be marked in if_capenable from the beginning. --- sys/dev/fxp/if_fxp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 67fc30132be5..d0b6467b5434 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -820,6 +820,7 @@ fxp_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; /* * Let the system queue as many packets as we have available