path: root/tests/xmlfiles/72-rule-real.xml
diff options
authorArturo Borrero <>2014-01-15 12:12:18 +0100
committerPablo Neira Ayuso <>2014-01-15 17:39:32 +0100
commit5b7ca05aa453f999ec015db671c1665f116e3bb2 (patch)
treea04be9b830222ce42cb90c261b20ce54e42523a8 /tests/xmlfiles/72-rule-real.xml
parentd4e9556f36078ef60d0d6468d5203872e5f2a753 (diff)
tests: xml: delete comments
When building a XML tree, only one root node can be in place. This is a "feature" added in libmxml 2.7: <<< mxmlLoad... did not error out on XML with multiple root nodes (Bug #403) >>> In libmxml 2.6 the second root node was ignored, not because it was a comment but a bug. Our files had two root nodes, being comments or not. libmxml accept comments, but inside the root node. Signed-off-by: Arturo Borrero Gonzalez <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests/xmlfiles/72-rule-real.xml')
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/xmlfiles/72-rule-real.xml b/tests/xmlfiles/72-rule-real.xml
index fb35523..aac8b85 100644
--- a/tests/xmlfiles/72-rule-real.xml
+++ b/tests/xmlfiles/72-rule-real.xml
@@ -1,2 +1 @@
<nftables><rule><family>ip</family><table>filter</table><chain>output</chain><handle>36</handle><expr type="payload"><dreg>1</dreg><offset>16</offset><len>4</len><base>network</base></expr><expr type="lookup"><set>map2</set><sreg>1</sreg><dreg>0</dreg></expr></rule></nftables>
-<!-- nft add rule ip filter output ip daddr vmap { => accept, => drop, } -->