Signed-off-by: Kristina Hanicova <khanicov@xxxxxxxxxx> --- src/nwfilter/nwfilter_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nwfilter/nwfilter_driver.c b/src/nwfilter/nwfilter_driver.c index 4cfdd42a37..d38c5b78e3 100644 --- a/src/nwfilter/nwfilter_driver.c +++ b/src/nwfilter/nwfilter_driver.c @@ -542,12 +542,12 @@ nwfilterDefineXMLFlags(virConnectPtr conn, return NULL; } - virCheckFlags(0, NULL); + virCheckFlags(VIR_NWFILTER_DEFINE_VALIDATE, NULL); nwfilterDriverLock(); virNWFilterWriteLockFilterUpdates(); - if (!(def = virNWFilterDefParseString(xml, 0))) + if (!(def = virNWFilterDefParseString(xml, flags))) goto cleanup; if (virNWFilterDefineXMLFlagsEnsureACL(conn, def) < 0) -- 2.31.1