VirtualBox

Changeset 74867 in vbox


Ignore:
Timestamp:
Oct 16, 2018 4:10:57 PM (6 years ago)
Author:
vboxsync
Message:

Main/iokit.cpp: Fixed regression introduced in r125711 (short instead of full names of host network adapters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/darwin/iokit.cpp

    r74772 r74867  
    16921692                           does not always end up with a BSD name, typically requiring replugging. */
    16931693                        char szBSDName[RT_SIZEOFMEMB(DARWINETHERNIC, szBSDName)];
    1694                         if (RT_UNLIKELY(darwinDictGetString(IfPropsRef, CFSTR("BSD Name"), szBSDName, sizeof(szBSDName))))
     1694                        if (RT_UNLIKELY(!darwinDictGetString(IfPropsRef, CFSTR("BSD Name"), szBSDName, sizeof(szBSDName))))
    16951695                        {
    16961696                            LogRelMax(32, ("DarwinGetEthernetControllers: Warning! Failed to get 'BSD Name'; provider class %s\n", szTmp));
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