summaryrefslogtreecommitdiffstats
path: root/test/nft-rule-xml-add.sh
diff options
context:
space:
mode:
authorArturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>2013-06-26 13:37:18 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-06-27 19:53:10 +0200
commit948cde9185713f97941e7bb5b41e4d6d7402ddf5 (patch)
tree3a1281d32d8e633195f90b981de8c6cd0b75f5b9 /test/nft-rule-xml-add.sh
parent347f9679fab254108fe5b8558bbbff0b7db39ecd (diff)
meta: xml: use string to represent key attribute
Use a string for <key> node instead of a number. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'test/nft-rule-xml-add.sh')
-rwxr-xr-xtest/nft-rule-xml-add.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nft-rule-xml-add.sh b/test/nft-rule-xml-add.sh
index e1e35d9..2a052b2 100755
--- a/test/nft-rule-xml-add.sh
+++ b/test/nft-rule-xml-add.sh
@@ -39,7 +39,7 @@ XML="<rule family=\"ip\" table=\"filter\" chain=\"INPUT\" handle=\"100\" version
<compat_proto>0</compat_proto>
<expr type=\"meta\">
<dreg>1</dreg>
- <key>4</key>
+ <key>iif</key>
</expr>
<expr type=\"cmp\">
<sreg>1</sreg>