summaryrefslogtreecommitdiffstats
path: root/tests/xmlfiles/33-rule-nat4.xml
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <alvaroneay@gmail.com>2015-02-09 21:09:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-02-10 13:09:25 +0100
commit6f22be67bdcc0e3752b4eb8f75ccefbc3250f39d (patch)
tree8267bc064adf3d11a3a6b21bcad057f1bd8f6fc1 /tests/xmlfiles/33-rule-nat4.xml
parent64279008234c2367e1b6ffa84c6b3dff5a04a779 (diff)
tests: update JSON/XML tests with the new syntax
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/xmlfiles/33-rule-nat4.xml')
-rw-r--r--tests/xmlfiles/33-rule-nat4.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xmlfiles/33-rule-nat4.xml b/tests/xmlfiles/33-rule-nat4.xml
index b7b6cb6..c55618b 100644
--- a/tests/xmlfiles/33-rule-nat4.xml
+++ b/tests/xmlfiles/33-rule-nat4.xml
@@ -1 +1 @@
-<nftables><rule><family>ip</family><table>filter</table><chain>INPUT</chain><handle>100</handle><expr type="nat"><nat_type>dnat</nat_type><family>ip</family><sreg_addr_min>1</sreg_addr_min><sreg_addr_max>2</sreg_addr_max><sreg_proto_min>3</sreg_proto_min><sreg_proto_max>4</sreg_proto_max><flags>12</flags></expr></rule></nftables>
+<nftables><add><rule><family>ip</family><table>filter</table><chain>INPUT</chain><handle>100</handle><expr type="nat"><nat_type>dnat</nat_type><family>ip</family><sreg_addr_min>1</sreg_addr_min><sreg_addr_max>2</sreg_addr_max><sreg_proto_min>3</sreg_proto_min><sreg_proto_max>4</sreg_proto_max><flags>12</flags></expr></rule></add></nftables>