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/39-rule-real.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/xmlfiles/39-rule-real.xml') diff --git a/tests/xmlfiles/39-rule-real.xml b/tests/xmlfiles/39-rule-real.xml index da65fd4..2a22ef8 100644 --- a/tests/xmlfiles/39-rule-real.xml +++ b/tests/xmlfiles/39-rule-real.xml @@ -1 +1 @@ -ip6filter
test311iifname1eq160x000000000x000000000x6f6200000x0030646e1oifname1eq160x000000000x620000000x31646e6f0x0037322e1816network1eq160xc09a002a0x2700cac10x000000000x50010000161network1eq10x00000011122transport1eq20x000035001statusoriginal1eq40x0000000100dns_drop2000drop
+ip6filter
test311iifname1eq160x000000000x000000000x6f6200000x0030646e1oifname1eq160x000000000x620000000x31646e6f0x0037322e1816network1eq160xc09a002a0x2700cac10x000000000x50010000161network1eq10x00000011122transport1eq20x000035001statusoriginal1eq40x0000000100dns_drop2000drop
-- cgit v1.2.3