From e8ae99894a89ba5da0fbaade79777d74a89191c2 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Mon, 7 May 2007 09:45:31 +0000 Subject: [PATCH] Finish VLAN_MTU support in nve(4). The interface appears to be able to handle long frames in its default mode, so setting the respective bit in if_capenable is enough. Tested by: yongari --- sys/dev/nve/if_nve.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/nve/if_nve.c b/sys/dev/nve/if_nve.c index 06ca4baa7ad..76e1630d0fd 100644 --- a/sys/dev/nve/if_nve.c +++ b/sys/dev/nve/if_nve.c @@ -530,6 +530,7 @@ nve_attach(device_t dev) ifp->if_snd.ifq_drv_maxlen = TX_RING_SIZE - 1; IFQ_SET_READY(&ifp->if_snd); ifp->if_capabilities |= IFCAP_VLAN_MTU; + ifp->if_capenable |= IFCAP_VLAN_MTU; /* Attach to OS's managers. */ ether_ifattach(ifp, eaddr);