mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
64a113269c
commit
e8ae99894a
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue