aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2011-11-18 11:58:17 -0500
committerStefan Berger <stefanb@us.ibm.com>2011-11-18 11:58:17 -0500
commit19028ad6dc9e021c52661066d579f05128f8adae (patch)
tree55891674f45d1f8e29bf272128b3cdbb140d3391 /src/conf/nwfilter_conf.h
parentUse scripting for cleaning and renaming of chains (diff)
downloadlibvirt-19028ad6dc9e021c52661066d579f05128f8adae.tar.gz
libvirt-19028ad6dc9e021c52661066d579f05128f8adae.tar.bz2
libvirt-19028ad6dc9e021c52661066d579f05128f8adae.zip
Use the actual names of chains in data structure
Use the name of the chain rather than its type index (enum). This pushes the later enablement of chains with user-given names into the XML parser. For now we still only allow those names that are well known ('root', 'arp', 'rarp', 'ipv4' and 'ipv6'). Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'src/conf/nwfilter_conf.h')
-rw-r--r--src/conf/nwfilter_conf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf/nwfilter_conf.h b/src/conf/nwfilter_conf.h
index 3d430181b..0ff14d143 100644
--- a/src/conf/nwfilter_conf.h
+++ b/src/conf/nwfilter_conf.h
@@ -455,7 +455,7 @@ struct _virNWFilterDef {
char *name;
unsigned char uuid[VIR_UUID_BUFLEN];
- int chainsuffix; /*enum virNWFilterChainSuffixType */
+ char *chainsuffix;
virNWFilterChainPriority chainPriority;
int nentries;