From 0ab30abc0a226d9729316cc658a4f37f54ec1f19 Mon Sep 17 00:00:00 2001 From: yar Date: Mon, 7 May 2007 09:45:31 +0000 Subject: 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(+) (limited to 'sys/dev') diff --git a/sys/dev/nve/if_nve.c b/sys/dev/nve/if_nve.c index 06ca4ba..76e1630 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); -- cgit v1.1