From ba1eaf0b3df13cc45b963a4d2bedda89ea510c2c Mon Sep 17 00:00:00 2001 From: Ana Rey Date: Wed, 9 Apr 2014 11:16:54 +0200 Subject: xml, json: Delete an immediatedate label in xml and json file It deletes the immediatedata label in the structure of json and xml file. Example of the old structure of xmlfile: ip filter
input 32 0 accept
Example of the new structure of xmlfile: ip filter
input 32 0 accept
To generate the new testfiles, It use the option -u of nft-parsing-test script. Signed-off-by: Ana Rey Signed-off-by: Pablo Neira Ayuso --- tests/xmlfiles/75-ruleset.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/xmlfiles/75-ruleset.xml') diff --git a/tests/xmlfiles/75-ruleset.xml b/tests/xmlfiles/75-ruleset.xml index d1c34a1..e4c8389 100644 --- a/tests/xmlfiles/75-ruleset.xml +++ b/tests/xmlfiles/75-ruleset.xml @@ -1 +1 @@ -filterip00
filterip600
input100filter
ip
output200filter
ip
forward100filter
ip6
ip6filter
set0312200020x00004300020x00003500
ipfilter
map011122429496704016020x00005000drop020x00001600accept
ipfilter
input8000accept
ipfilter
output9191network1eq10x00000006122transportmap010
ip6filter
forward2161network1eq10x00000011122transportset010000accept
+filterip00
filterip600
input100filter
ip
output200filter
ip
forward100filter
ip6
ip6filter
set0312200020x00004300020x00003500
ipfilter
map011122429496704016020x00005000drop020x00001600accept
ipfilter
input8000accept
ipfilter
output9191network1eq10x00000006122transportmap010
ip6filter
forward2161network1eq10x00000011122transportset010000accept
-- cgit v1.2.3