summaryrefslogtreecommitdiffstats
path: root/tests/xmlfiles/10-chain.xml
diff options
context:
space:
mode:
authorArturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>2013-08-05 14:01:28 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-08-05 14:29:14 +0200
commitb3e73fda10db2b1aa2ef26690bf285839e4ea22a (patch)
tree698e12091152ab0e59047566e50233c63cb0fbf6 /tests/xmlfiles/10-chain.xml
parentd7d29351d57864c2d71a5d83f9d7aae092e2b9e4 (diff)
src: xml: table/chain delete properties
This patch deletes the <properties> node in chain and table XML objects. For this to work, the first tree search with MXML_DESCEND_FIRST flag is moved to the next node. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/xmlfiles/10-chain.xml')
-rw-r--r--tests/xmlfiles/10-chain.xml16
1 files changed, 7 insertions, 9 deletions
diff --git a/tests/xmlfiles/10-chain.xml b/tests/xmlfiles/10-chain.xml
index 4de1020..6d1875e 100644
--- a/tests/xmlfiles/10-chain.xml
+++ b/tests/xmlfiles/10-chain.xml
@@ -1,11 +1,9 @@
<chain name="test" handle="0" bytes="0" packets="0">
- <properties>
- <type>filter</type>
- <table>filter</table>
- <prio>0</prio>
- <use>1</use>
- <hooknum>NF_INET_LOCAL_IN</hooknum>
- <policy>accept</policy>
- <family>ip</family>
- </properties>
+ <type>filter</type>
+ <table>filter</table>
+ <prio>0</prio>
+ <use>1</use>
+ <hooknum>NF_INET_LOCAL_IN</hooknum>
+ <policy>accept</policy>
+ <family>ip</family>
</chain>