summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/bogons/nft-f/nat_prefix_map_with_set_element_assert
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/bogons/nft-f/nat_prefix_map_with_set_element_assert')
-rw-r--r--tests/shell/testcases/bogons/nft-f/nat_prefix_map_with_set_element_assert7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/testcases/bogons/nft-f/nat_prefix_map_with_set_element_assert b/tests/shell/testcases/bogons/nft-f/nat_prefix_map_with_set_element_assert
new file mode 100644
index 00000000..18c7edd1
--- /dev/null
+++ b/tests/shell/testcases/bogons/nft-f/nat_prefix_map_with_set_element_assert
@@ -0,0 +1,7 @@
+table ip x {
+ chain y {
+ type nat hook postrouting priority srcnat; policy accept;
+ snat ip prefix to ip saddr map { 10.141.11.0/24 : 192.168.2.0/24, 10.141.12.1 }
+ }
+}
+