Changeset 20521 in vbox for trunk/src/VBox/Main/ConsoleImpl2.cpp
- Timestamp:
- Jun 12, 2009 3:28:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r20501 r20521 1364 1364 { 1365 1365 case NetworkAttachmentType_Null: 1366 #ifdef VBOX_DYNAMIC_NET_ATTACH 1367 pConsole->meAttachmentType[ulInstance] = NetworkAttachmentType_Null; 1368 #endif /* VBOX_DYNAMIC_NET_ATTACH */ 1366 1369 break; 1367 1370 … … 1412 1415 STR_FREE(); 1413 1416 } 1417 #ifdef VBOX_DYNAMIC_NET_ATTACH 1418 pConsole->meAttachmentType[ulInstance] = NetworkAttachmentType_NAT; 1419 #endif /* VBOX_DYNAMIC_NET_ATTACH */ 1414 1420 break; 1415 1421 } … … 1745 1751 # error "Port me" 1746 1752 #endif 1753 #ifdef VBOX_DYNAMIC_NET_ATTACH 1754 pConsole->meAttachmentType[ulInstance] = NetworkAttachmentType_Bridged; 1755 #endif /* VBOX_DYNAMIC_NET_ATTACH */ 1747 1756 } 1748 1757 else … … 1793 1802 STR_FREE(); 1794 1803 } 1804 #ifdef VBOX_DYNAMIC_NET_ATTACH 1805 pConsole->meAttachmentType[ulInstance] = NetworkAttachmentType_Internal; 1806 #endif /* VBOX_DYNAMIC_NET_ATTACH */ 1795 1807 break; 1796 1808 } … … 2004 2016 hrc = hostInterface->EnableStaticIpConfigV6(tmpAddr, Utf8Str(tmpMask).toUInt32()); 2005 2017 #endif 2018 #ifdef VBOX_DYNAMIC_NET_ATTACH 2019 pConsole->meAttachmentType[ulInstance] = NetworkAttachmentType_HostOnly; 2020 #endif /* VBOX_DYNAMIC_NET_ATTACH */ 2006 2021 break; 2007 2022 }
Note:
See TracChangeset
for help on using the changeset viewer.