Changeset 36275 in vbox for trunk/src/VBox/Main/xml
- Timestamp:
- Mar 14, 2011 6:01:34 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70549
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r36168 r36275 1946 1946 pelmAdapter->getAttributeValue("tracefile", nic.strTraceFile); 1947 1947 pelmAdapter->getAttributeValue("bootPriority", nic.ulBootPriority); 1948 pelmAdapter->getAttributeValue("bandwidth Limit", nic.ulBandwidthLimit);1948 pelmAdapter->getAttributeValue("bandwidthGroup", nic.strBandwidthGroup); 1949 1949 1950 1950 xml::ElementNodesList llNetworkModes; … … 3695 3695 pelmAdapter->setAttribute("tracefile", nic.strTraceFile); 3696 3696 } 3697 if (nic. ulBandwidthLimit)3698 pelmAdapter->setAttribute("bandwidth Limit", nic.ulBandwidthLimit);3697 if (nic.strBandwidthGroup.isNotEmpty()) 3698 pelmAdapter->setAttribute("bandwidthGroup", nic.strBandwidthGroup); 3699 3699 3700 3700 const char *pszPolicy; … … 4729 4729 ++netit) 4730 4730 { 4731 if ( (m->sv < SettingsVersion_v1_1 1)4732 && (netit-> ulBandwidthLimit)4731 if ( (m->sv < SettingsVersion_v1_12) 4732 && (netit->strBandwidthGroup.isNotEmpty()) 4733 4733 ) 4734 4734 { 4735 /* New in VirtualBox 4. 0*/4736 m->sv = SettingsVersion_v1_1 1;4735 /* New in VirtualBox 4.1 */ 4736 m->sv = SettingsVersion_v1_12; 4737 4737 break; 4738 4738 }
Note:
See TracChangeset
for help on using the changeset viewer.