summaryrefslogtreecommitdiffstats
path: root/tests/xmlfiles/33-rule-nat4.xml
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2013-08-12 09:35:39 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-08-12 11:32:38 +0200
commit063da5bcaaf58e3ab6b86eacd6a4c958541a97bd (patch)
treef1275f504f58bb1503865343098fdb6fc19a9c32 /tests/xmlfiles/33-rule-nat4.xml
parent75a2b33dfb087f620a4778cb2a99fafa37d2a66e (diff)
nat: xml: fix wrong node name in snprintf
This patch renames all <nat_type> nodes to <type> in nat expr. A bug is fixed, since the default option in snprintf was already <type>. This follows the pattern of avoid prefixing XML nodes. Note that this is mostly reverting what was done at: 31e34c3 (nat: xml: rename node type to nat_type). Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@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 ac4d7d2..8ac5238 100644
--- a/tests/xmlfiles/33-rule-nat4.xml
+++ b/tests/xmlfiles/33-rule-nat4.xml
@@ -1 +1 @@
-<rule><family>ip</family><table>filter</table><chain>INPUT</chain><handle>100</handle><flags>0</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>
+<rule><family>ip</family><table>filter</table><chain>INPUT</chain><handle>100</handle><flags>0</flags><expr type="nat"><type>dnat</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></expr></rule>