VirtualBox

Ignore:
Timestamp:
Aug 29, 2008 10:27:24 PM (16 years ago)
Author:
vboxsync
Message:

build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r11849 r11851  
    11921192
    11931193#elif defined(VBOX_WITH_NETFLT) && !defined(RT_OS_WINDOWS) /** @todo merge in the windows stuff too */
     1194                    /*
     1195                     * This is the new VBoxNetFlt+IntNet stuff.
     1196                     */
    11941197                    if (fSniffer)
    11951198                    {
     
    12051208                    Utf8Str HifNameUtf8(HifName);
    12061209                    const char *pszHifName = HifNameUtf8.raw();
     1210
    12071211# if defined(RT_OS_DARWIN)
    1208                     /* The nae is on the form 'ifX: long name', chop it off at the colon. */
    1209                     Bstr HifName;
    1210                     hrc = networkAdapter->COMGETTER(HostInterface)(HifName.asOutParam()); H();
    1211                     Utf8Str HifNameUtf8(HifName);
    1212                     const char *pszHifName = HifNameUtf8.raw();
     1212                    /* The name is on the form 'ifX: long name', chop it off at the colon. */
    12131213                    char szTrunk[8];
    12141214                    strncpy(szTrunk, pszHifName, sizeof(szTrunk));
     
    12231223                    *pszColon = '\0';
    12241224                    const char *pszTrunk = szTrunk;
     1225
    12251226# elif defined(RT_OS_SOLARIS)
    12261227                    /* The name is on the form BSD format 'ifX'; use as-is. */
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