mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Advertise IFCAP_LINKSTAT after r326480 added link status support
MFC after: 2 weeks
This commit is contained in:
parent
57229a86bf
commit
6d7bc5838b
1 changed files with 2 additions and 0 deletions
|
|
@ -2743,6 +2743,8 @@ vxlan_clone_create(struct if_clone *ifc, int unit, caddr_t params)
|
|||
ifp->if_ioctl = vxlan_ioctl;
|
||||
ifp->if_transmit = vxlan_transmit;
|
||||
ifp->if_qflush = vxlan_qflush;
|
||||
ifp->if_capabilities |= IFCAP_LINKSTATE;
|
||||
ifp->if_capenable |= IFCAP_LINKSTATE;
|
||||
|
||||
ifmedia_init(&sc->vxl_media, 0, vxlan_media_change, vxlan_media_status);
|
||||
ifmedia_add(&sc->vxl_media, IFM_ETHER | IFM_AUTO, 0, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue