]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: nwfilter: Remove virNWFilterDefParseNode
authorPeter Krempa <pkrempa@redhat.com>
Fri, 23 Sep 2022 08:32:52 +0000 (10:32 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 6 Oct 2022 08:54:25 +0000 (10:54 +0200)
commit2a8998d42767feb4145dd3be8ccd5f1c492b1bba
tree400941e33a1d707f768fcb196ce67ef53ff56fc7
parent573f764ee4f8dca852b0d04d86b9bf5e66d7fa54
conf: nwfilter: Remove virNWFilterDefParseNode

Use virXMLParse to fetch the XML context and validate the top level XML
element name so that virNWFilterDefParseNode is no longer needed.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/nwfilter_conf.c
src/conf/nwfilter_conf.h