Signed-off-by: Kristina Hanicova <khanicov(a)redhat.com>
---
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 1d4567855e..200451d6b1 100644
--- a/src/nwfilter/nwfilter_driver.c
+++ b/src/nwfilter/nwfilter_driver.c
@@ -737,7 +737,7 @@ nwfilterBindingCreateXML(virConnectPtr conn,
virNWFilterBindingObj *obj = NULL;
virNWFilterBindingPtr ret = NULL;
- virCheckFlags(0, NULL);
+ virCheckFlags(VIR_NWFILTER_BINDING_CREATE_VALIDATE, NULL);
if (!driver->privileged) {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
@@ -745,7 +745,7 @@ nwfilterBindingCreateXML(virConnectPtr conn,
return NULL;
}
- def = virNWFilterBindingDefParseString(xml, 0);
+ def = virNWFilterBindingDefParseString(xml, flags);
if (!def)
return NULL;
--
2.31.1