Changeset 40056 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Feb 9, 2012 7:15:04 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76184
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp ¶
r39477 r40056 4147 4147 InsertConfigString(pCfg, "IfPolicyPromisc", pszPromiscuousGuestPolicy); 4148 4148 char szNetwork[INTNET_MAX_NETWORK_NAME]; 4149 4150 #if defined(RT_OS_SOLARIS) /* @todo Shouldn't darwin also do the same? */ 4151 /* 4152 * 'pszTrunk' contains just the interface name required in ring-0, while 'pszBridgedIfName' contains 4153 * interface name + optional description. We must not pass any description to the VM as it can differ 4154 * for the same interface name, eg: "nge0 - ethernet" (GUI) vs "nge0" (VBoxManage). 4155 */ 4156 RTStrPrintf(szNetwork, sizeof(szNetwork), "HostInterfaceNetworking-%s", pszTrunk); 4157 #else 4149 4158 RTStrPrintf(szNetwork, sizeof(szNetwork), "HostInterfaceNetworking-%s", pszBridgedIfName); 4159 #endif 4150 4160 InsertConfigString(pCfg, "Network", szNetwork); 4151 4161 networkName = Bstr(szNetwork);
Note:
See TracChangeset
for help on using the changeset viewer.