[libvirt] [PATCH] schema: allow a <rule> element with no subelements in a nwfilter

Michal Privoznik mprivozn at redhat.com
Thu Jun 21 08:01:20 UTC 2018


On 06/21/2018 08:12 AM, Laine Stump wrote:
> This is a regression in behavior caused by commit 37359814. It was
> intended to limit the schema to allow only a single subelement of
> <rule>, but it is also acceptable for <rule> to have no subelement at
> all.
> 
> To prevent the same error from reoccurring in the future, the
> examples/xml/nwfilter directory was added to the list of nwfilter
> schema test directories.
> 
> Resolves: https://bugzilla.redhat.com/1593549
> Signed-off-by: Laine Stump <laine at laine.org>
> ---
>  docs/schemas/nwfilter.rng | 1 +
>  tests/virschematest.c     | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)

ACK

Michal




More information about the libvir-list mailing list