mirror of https://git.48k.eu/ogserver
#1037 Make partition parameter validation permissive
Otherwise, ogServer rejects the response if ogClient sends more parameters than required.master
parent
bc9424724d
commit
10c9559dfc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue