Changeset 18068 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 18, 2009 2:42:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r18023 r18068 1651 1651 else 1652 1652 { 1653 # ifndef VBOX_WITH_NETFLT 1654 rc = CFGMR3InsertString(pLunL0, "Driver", "HostInterface"); RC_CHECK(); 1655 rc = CFGMR3InsertNode(pLunL0, "Config", &pCfg); RC_CHECK(); 1656 rc = CFGMR3InsertString(pCfg, "HostInterfaceName", Utf8Str(hostInterfaceName)); RC_CHECK(); 1657 # else 1653 # ifdef VBOX_WITH_NETFLT 1658 1654 rc = CFGMR3InsertString(pLunL0, "Driver", "IntNet"); RC_CHECK(); 1659 1655 rc = CFGMR3InsertNode(pLunL0, "Config", &pCfg); RC_CHECK(); … … 1837 1833 hrc = hostInterface->EnableStaticIpConfig(Bstr(VBOXNET_IPV4ADDR_DEFAULT), 1838 1834 Bstr(VBOXNET_IPV4MASK_DEFAULT)); 1839 1840 1835 1836 1841 1837 hrc = virtualBox->GetExtraData(Bstr("HostOnly/vboxnet0/IPV6Address"), tmpAddr.asOutParam()); 1842 1838 if (SUCCEEDED(hrc)) … … 1844 1840 if (SUCCEEDED(hrc) && !tmpAddr.isEmpty()) 1845 1841 hrc = hostInterface->EnableStaticIpConfigV6(tmpAddr, Utf8Str(tmpMask).toUInt32()); 1846 #endif 1842 #endif 1847 1843 break; 1848 1844 }
Note:
See TracChangeset
for help on using the changeset viewer.