VirtualBox

Ignore:
Timestamp:
Feb 1, 2011 12:31:15 PM (14 years ago)
Author:
vboxsync
Message:

netadp: Re-create configured vboxnetX interfaces (#4213) on Darwin and FreeBSD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c

    r35785 r35809  
    176176
    177177
    178 int vboxNetAdpOsCreate(PVBOXNETADP pThis, PCRTMAC pMACAddress, const char *pcszName)
     178int vboxNetAdpOsCreate(PVBOXNETADP pThis, PCRTMAC pMACAddress)
    179179{
    180180    int rc = VINF_SUCCESS;
     
    183183    /* No need for private data. */
    184184    pNetDev = alloc_netdev(sizeof(VBOXNETADPPRIV),
    185                            pcszName ? pcszName : VBOXNETADP_LINUX_NAME,
     185                           pThis->szName[0] ? pThis->szName : VBOXNETADP_LINUX_NAME,
    186186                           vboxNetAdpNetDevInit);
    187187    if (pNetDev)
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