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:15 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-06-27 19:43:44 +0200
commit845952009ee304cc523bb428eef56c5bbbd2c786 (patch)
tree7ea07198bd5bd025884484c4f99a8dcc910ddcc8 /test/nft-rule-xml-add.sh
parentadf8c43fe9cf032a1499beca26e548e3a82f8d1c (diff)
payload: xml: use string for base attribute
This patch implements using a string instead of a number for the <base> node. 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.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/nft-rule-xml-add.sh b/test/nft-rule-xml-add.sh
index 322e70c..e1e35d9 100755
--- a/test/nft-rule-xml-add.sh
+++ b/test/nft-rule-xml-add.sh
@@ -53,7 +53,7 @@ XML="<rule family=\"ip\" table=\"filter\" chain=\"INPUT\" handle=\"100\" version
</expr>
<expr type=\"payload\">
<dreg>1</dreg>
- <base>1</base>
+ <base>transport</base>
<offset>12</offset>
<len>4</len>
</expr>
@@ -69,7 +69,7 @@ XML="<rule family=\"ip\" table=\"filter\" chain=\"INPUT\" handle=\"100\" version
</expr>
<expr type=\"payload\">
<dreg>1</dreg>
- <base>1</base>
+ <base>link</base>
<offset>16</offset>
<len>4</len>
</expr>
@@ -85,7 +85,7 @@ XML="<rule family=\"ip\" table=\"filter\" chain=\"INPUT\" handle=\"100\" version
</expr>
<expr type=\"payload\">
<dreg>1</dreg>
- <base>1</base>
+ <base>network</base>
<offset>9</offset>
<len>1</len>
</expr>