Changeset 36703 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Apr 18, 2011 11:06:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r36630 r36703 3775 3775 RTStrCopy(szTrunk, sizeof(szTrunk), pszHifName); 3776 3776 char *pszColon = (char *)memchr(szTrunk, ':', sizeof(szTrunk)); 3777 if (!pszColon) 3778 { 3779 /* 3780 * Dynamic changing of attachment causes an attempt to configure 3781 * network with invalid host adapter (as it is must be changed before 3782 * the attachment), calling Detach here will cause a deadlock. 3783 * See #4750. 3784 * hrc = aNetworkAdapter->Detach(); H(); 3785 */ 3786 return VMSetError(pVM, VERR_INTERNAL_ERROR, RT_SRC_POS, 3787 N_("Malformed host interface networking name '%ls'"), 3788 HifName.raw()); 3789 } 3790 *pszColon = '\0'; 3777 // Quick fix for #5633 3778 // if (!pszColon) 3779 // { 3780 // /* 3781 // * Dynamic changing of attachment causes an attempt to configure 3782 // * network with invalid host adapter (as it is must be changed before 3783 // * the attachment), calling Detach here will cause a deadlock. 3784 // * See #4750. 3785 // * hrc = aNetworkAdapter->Detach(); H(); 3786 // */ 3787 // return VMSetError(pVM, VERR_INTERNAL_ERROR, RT_SRC_POS, 3788 // N_("Malformed host interface networking name '%ls'"), 3789 // HifName.raw()); 3790 // } 3791 if (pszColon) 3792 *pszColon = '\0'; 3791 3793 const char *pszTrunk = szTrunk; 3792 3794
Note:
See TracChangeset
for help on using the changeset viewer.