diff options
author | Ana Rey <anarey@gmail.com> | 2014-04-09 11:16:54 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-04-14 10:46:11 +0200 |
commit | ba1eaf0b3df13cc45b963a4d2bedda89ea510c2c (patch) | |
tree | d04e2595018418513ad097e2a163b2699a10990a /tests/jsonfiles/40-rule-real.json | |
parent | 1a0abb3036452852757d13fe394c6c72dff877bd (diff) |
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:
<nftables>
<rule>
<family>ip</family>
<table>filter</table>
<chain>input</chain>
<handle>32</handle>
<expr type="immediate">
<dreg>0</dreg>
<immediatedata>
<data_reg type="verdict">
<verdict>accept</verdict>
</data_reg>
</immediatedata>
</expr>
</rule>
</nftables>
Example of the new structure of xmlfile:
<nftables>
<rule>
<family>ip</family>
<table>filter</table>
<chain>input</chain>
<handle>32</handle>
<expr type="immediate">
<dreg>0</dreg>
<data_reg type="verdict">
<verdict>accept</verdict>
</data_reg>
</expr>
</rule>
</nftables>
To generate the new testfiles, It use the option -u of nft-parsing-test
script.
Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/jsonfiles/40-rule-real.json')
0 files changed, 0 insertions, 0 deletions