VirtualBox

Ignore:
Timestamp:
May 20, 2010 9:12:53 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61889
Message:

FreeBSD-VBoxNetAdp/VBoxNetFlt: Fix names so vboxnetadp can load vboxnetflt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c

    r29662 r29713  
    124124};
    125125NETGRAPH_INIT(vboxnetflt, &ng_vboxnetflt_typestruct);
    126 MODULE_VERSION(ng_vboxnetflt, 1);
     126
     127/*
     128 * Use vboxnetflt because the kernel module is named vboxnetflt and vboxnetadp
     129 * depends on this when loading dependencies.
     130 * NETGRAP_INIT will prefix the given name with ng_ so MODULE_DEPEND needs the
     131 * prefixed name.
     132 */
     133MODULE_VERSION(vboxnetflt, 1);
    127134MODULE_DEPEND(ng_vboxnetflt, vboxdrv, 1, 1, 1);
    128135
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette