Changeset 21779 in vbox
- Timestamp:
- Jul 24, 2009 10:13:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r21724 r21779 3353 3353 3354 3354 #ifdef VBOX_DYNAMIC_NET_ATTACH 3355 if (VBOX_SUCCESS (vrc) && !(eAttachmentType == meAttachmentType[ulInstance]))3355 if (VBOX_SUCCESS (vrc)) 3356 3356 rc = doNetworkAdapterChange(pszAdapterName, ulInstance, 0, aNetworkAdapter); 3357 3357 #endif /* VBOX_DYNAMIC_NET_ATTACH */ … … 3464 3464 AssertReturn (pThis, VERR_INVALID_PARAMETER); 3465 3465 3466 AssertMsg ( (!strcmp (pszDevice, "pcnet") && uLun == 0 && uInstance < 8)3467 || (!strcmp (pszDevice, "e1000") && uLun == 0 && uInstance < 8),3466 AssertMsg ( (!strcmp (pszDevice, "pcnet") && uLun == 0 && uInstance < SchemaDefs::NetworkAdapterCount) 3467 || (!strcmp (pszDevice, "e1000") && uLun == 0 && uInstance < SchemaDefs::NetworkAdapterCount), 3468 3468 ("pszDevice=%s uLun=%d uInstance=%d\n", pszDevice, uLun, uInstance)); 3469 3469 Log(("pszDevice=%s uLun=%d uInstance=%d\n", pszDevice, uLun, uInstance));
Note:
See TracChangeset
for help on using the changeset viewer.