#1037 Make partition parameter validation permissive

Otherwise, ogServer rejects the response if ogClient sends more
parameters than required.
master
Javier Sánchez Parra 2021-05-24 17:22:32 +02:00 committed by OpenGnSys Support Team
parent bc9424724d
commit 10c9559dfc
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ int og_json_parse_partition(json_t *element, struct og_partition *part,
return err;
}
if (flags != required_flags)
if ((flags & required_flags) != required_flags)
return -1;
return err;