- Timestamp:
- Mar 28, 2009 6:54:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp
r18108 r18466 313 313 com::SafeIfaceArray <IHostNetworkInterface> hostNetworkInterfaces; 314 314 #if defined(VBOX_WITH_NETFLT) 315 CHECK_ERROR(host, 316 FindHostNetworkInterfacesOfType ( 317 command == LISTBRIDGEDIFS ? HostNetworkInterfaceType_Bridged : HostNetworkInterfaceType_HostOnly, 318 ComSafeArrayAsOutParam (hostNetworkInterfaces))); 315 if (command == LISTBRIDGEDIFS) 316 CHECK_ERROR(host, FindHostNetworkInterfacesOfType(HostNetworkInterfaceType_Bridged, 317 ComSafeArrayAsOutParam(hostNetworkInterfaces))); 318 else 319 CHECK_ERROR(host, FindHostNetworkInterfacesOfType(HostNetworkInterfaceType_HostOnly, 320 ComSafeArrayAsOutParam(hostNetworkInterfaces))); 319 321 #else 320 CHECK_ERROR(host, 321 COMGETTER(NetworkInterfaces) (ComSafeArrayAsOutParam (hostNetworkInterfaces))); 322 CHECK_ERROR(host, COMGETTER(NetworkInterfaces)(ComSafeArrayAsOutParam(hostNetworkInterfaces))); 322 323 #endif 323 324 for (size_t i = 0; i < hostNetworkInterfaces.size(); ++i)
Note:
See TracChangeset
for help on using the changeset viewer.