bug #3443: Reset address index when size is updated

This commit is contained in:
Ruben S. Montero committed 2014-12-20 21:54:30 +01:00
1 parent 1af165f99d
commit bda68ea011
1 file changed
+2 -2
+2 -2
View File
@@ -261,8 +261,6 @@ int AddressRange::update_attributes(
if (vup->vector_value("SIZE", new_size) == 0)
{
map<unsigned int, long long> itup;
if (is_reservation && new_size != size)
{
error_msg = "The SIZE of a reservation cannot be changed.";
@@ -276,6 +274,8 @@ int AddressRange::update_attributes(
return -1;
}
next = 0;
}
else
{