]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virNWFilterRuleDef: Turn 'action' and 'tt' into proper enum types
authorPeter Krempa <pkrempa@redhat.com>
Thu, 16 Feb 2023 12:14:45 +0000 (13:14 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 5 Jun 2023 11:23:06 +0000 (13:23 +0200)
commitf0c5da0f241fb218f97776b87c3aed41dfa82f0d
tree379a017ad3519b90f5c5484b04f9ca9e0bf12f00
parent43f280cc653d427115f87b545f13ab5dad67ab04
virNWFilterRuleDef: Turn 'action' and 'tt' into proper enum types

Convert the fields to the proper types and use virXMLPropEnum for
parsing.

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
src/nwfilter/nwfilter_ebiptables_driver.c