Changeset 40505 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Mar 16, 2012 4:49:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/NetworkAdapterImpl.cpp
r40491 r40505 1177 1177 mData->mBootPriority = data.ulBootPriority; 1178 1178 /* bandwidth group */ 1179 if (data.strBandwidthGroup.isEmpty()) 1180 updateBandwidthGroup(NULL); 1181 else 1179 mData->mBandwidthGroup = data.strBandwidthGroup; 1180 if (mData->mBandwidthGroup.isNotEmpty()) 1182 1181 { 1183 1182 ComObjPtr<BandwidthGroup> group; 1184 1183 rc = bwctl->getBandwidthGroupByName(data.strBandwidthGroup, group, true); 1185 1184 if (FAILED(rc)) return rc; 1185 group->reference(); 1186 1186 } 1187 1187 … … 1443 1443 } 1444 1444 1445 mData.backup();1446 1447 1445 updateBandwidthGroup(pBwGroup); 1448 1446
Note:
See TracChangeset
for help on using the changeset viewer.