VirtualBox

Changeset 22180 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 11, 2009 4:36:51 PM (15 years ago)
Author:
vboxsync
Message:

Fixed failure in CreateHostOnlyNetworkInterface() on linux (no GUID).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/linux/NetIf-linux.cpp

    r21878 r22180  
    7474static int getInterfaceInfo(int iSocket, const char *pszName, PNETIFINFO pInfo)
    7575{
    76     memset(pInfo, 0, sizeof(*pInfo));
     76    // Zeroing out pInfo is a bad idea as it should contain both short and long names at this point.
     77    //memset(pInfo, 0, sizeof(*pInfo));
    7778    struct ifreq Req;
    7879    memset(&Req, 0, sizeof(Req));
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