VirtualBox

Changeset 16967 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Feb 20, 2009 10:03:55 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43133
Message:

NetAdp: added a Real property to the IHostNetworkInterface, make the interface name be honored in VM settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvIntNet.cpp

    r16858 r16967  
    10381038# endif
    10391039
    1040         if (OpenReq.enmTrunkType == kIntNetTrunkType_NetFlt)
    1041         {
    1042             /*
    1043              * <Describe what this does here or/and in the function docs of drvIntNetWinIfGuidToBindName>.
    1044              */
    1045             char szBindName[INTNET_MAX_TRUNK_NAME];
    1046             rc = drvIntNetWinIfGuidToBindName(OpenReq.szTrunk, szBindName, INTNET_MAX_TRUNK_NAME);
    1047             AssertLogRelMsgRCReturn(rc, ("drvIntNetWinIfGuidToBindName failed, rc=%Rrc", rc), rc);
    1048             strcpy(OpenReq.szTrunk, szBindName);
    1049         }
    1050         else
    1051         {
    1052             strcpy(OpenReq.szTrunk, "dummy name");
    1053         }
     1040        /*
     1041         * <Describe what this does here or/and in the function docs of drvIntNetWinIfGuidToBindName>.
     1042         */
     1043        char szBindName[INTNET_MAX_TRUNK_NAME];
     1044        rc = drvIntNetWinIfGuidToBindName(OpenReq.szTrunk, szBindName, INTNET_MAX_TRUNK_NAME);
     1045        AssertLogRelMsgRCReturn(rc, ("drvIntNetWinIfGuidToBindName failed, rc=%Rrc", rc), rc);
     1046        strcpy(OpenReq.szTrunk, szBindName);
    10541047    }
    10551048#endif /* WINDOWS && NETFLT */
Note: See TracChangeset for help on using the changeset viewer.

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