summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/typeof_sets_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/sets/typeof_sets_0')
-rwxr-xr-xtests/shell/testcases/sets/typeof_sets_09
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/shell/testcases/sets/typeof_sets_0 b/tests/shell/testcases/sets/typeof_sets_0
index 5fc6a121..9f777a8c 100755
--- a/tests/shell/testcases/sets/typeof_sets_0
+++ b/tests/shell/testcases/sets/typeof_sets_0
@@ -55,6 +55,11 @@ EXPECTED="table inet t {
elements = { \"eth0\" . 10.1.1.2 . 42 }
}
+ set s11 {
+ typeof vlan id . ip saddr
+ elements = { 3567 . 1.2.3.4 }
+ }
+
chain c1 {
osf name @s1 accept
}
@@ -90,6 +95,10 @@ EXPECTED="table inet t {
chain c10 {
meta iifname . ip saddr . ipsec in reqid @s10 accept
}
+
+ chain c11 {
+ ether type vlan vlan id . ip saddr @s11 accept
+ }
}"
set -e