mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
netmap: set IFCAP_NETMAP in if_capabilities
Revision r307394 removed (by mistake) the code that sets IFCAP_NETMAP in if_capabilities on netmap_attach. This patch reverts this change. Reviewed by: np Approved by: gnn (mentor) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D17987
This commit is contained in:
parent
006f540e44
commit
d55913f555
1 changed files with 1 additions and 0 deletions
|
|
@ -1549,6 +1549,7 @@ out:
|
|||
void
|
||||
nm_os_onattach(struct ifnet *ifp)
|
||||
{
|
||||
ifp->if_capabilities |= IFCAP_NETMAP;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue