Changeset 48538 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Sep 19, 2013 3:17:43 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 89083
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r48528 r48538 4857 4857 } 4858 4858 4859 case NetworkAttachmentType_NATNetwork: 4860 { 4861 hrc = aNetworkAdapter->COMGETTER(NATNetwork)(bstr.asOutParam()); H(); 4862 if (!bstr.isEmpty()) 4863 { 4864 /** @todo add intnet prefix to separate namespaces, and add trunk if dealing with vboxnatX */ 4865 InsertConfigString(pLunL0, "Driver", "IntNet"); 4866 InsertConfigNode(pLunL0, "Config", &pCfg); 4867 InsertConfigString(pCfg, "Network", bstr); 4868 InsertConfigInteger(pCfg, "TrunkType", kIntNetTrunkType_WhateverNone); 4869 InsertConfigString(pCfg, "IfPolicyPromisc", pszPromiscuousGuestPolicy); 4870 networkName = bstr; 4871 trunkType = Bstr(TRUNKTYPE_WHATEVER); 4872 } 4873 break; 4874 } 4875 4859 4876 default: 4860 4877 AssertMsgFailed(("should not get here!\n")); … … 4875 4892 case NetworkAttachmentType_NAT: 4876 4893 case NetworkAttachmentType_Generic: 4894 case NetworkAttachmentType_NATNetwork: 4877 4895 { 4878 4896 if (SUCCEEDED(hrc) && SUCCEEDED(rc))
Note:
See TracChangeset
for help on using the changeset viewer.