summaryrefslogtreecommitdiffstats
path: root/tests/xmlfiles/33-rule-nat4.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xmlfiles/33-rule-nat4.xml')
-rw-r--r--tests/xmlfiles/33-rule-nat4.xml24
1 files changed, 14 insertions, 10 deletions
diff --git a/tests/xmlfiles/33-rule-nat4.xml b/tests/xmlfiles/33-rule-nat4.xml
index 1729b9f..05933af 100644
--- a/tests/xmlfiles/33-rule-nat4.xml
+++ b/tests/xmlfiles/33-rule-nat4.xml
@@ -1,11 +1,15 @@
-<rule family="ip" table="filter" chain="INPUT" handle="100">
- <rule_flags>0</rule_flags>
- <expr type="nat">
- <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>
- <family>ip</family>
- <nat_type>dnat</nat_type>
- </expr>
+<rule>
+ <family>ip</family>
+ <table>filter</table>
+ <chain>INPUT</chain>
+ <handle>100</handle>
+ <rule_flags>0</rule_flags>
+ <expr type="nat">
+ <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>
+ <family>ip</family>
+ <nat_type>dnat</nat_type>
+ </expr>
</rule>