summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/bogons/nft-f/nat_stmt_with_set_instead_of_map
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/bogons/nft-f/nat_stmt_with_set_instead_of_map')
-rw-r--r--tests/shell/testcases/bogons/nft-f/nat_stmt_with_set_instead_of_map10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/shell/testcases/bogons/nft-f/nat_stmt_with_set_instead_of_map b/tests/shell/testcases/bogons/nft-f/nat_stmt_with_set_instead_of_map
new file mode 100644
index 00000000..b1302278
--- /dev/null
+++ b/tests/shell/testcases/bogons/nft-f/nat_stmt_with_set_instead_of_map
@@ -0,0 +1,10 @@
+table inet x {
+ set y {
+ type ipv4_addr
+ elements = { 2.2.2.2, 3.3.3.3 }
+ }
+
+ chain y {
+ snat ip to ip saddr map @y
+ }
+}