1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

Bug #3607: Fix updatear with restricted attributes

This commit is contained in:
Carlos Martín 2015-02-18 12:48:09 +01:00
parent c83a038d78
commit afb568e5c6

View File

@ -277,9 +277,10 @@ int AddressRange::update_attributes(
if (keep_restricted && restricted_set)
{
remove_all_except_restricted(attr);
VectorAttribute va_aux(*attr);
remove_all_except_restricted(&va_aux);
vup->merge(attr, true);
vup->merge(&va_aux, true);
}
/* ----------------- update known attributes ----------------- */