summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/dumps/0060set_multistmt_0.nft
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/sets/dumps/0060set_multistmt_0.nft')
-rw-r--r--tests/shell/testcases/sets/dumps/0060set_multistmt_0.nft13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/shell/testcases/sets/dumps/0060set_multistmt_0.nft b/tests/shell/testcases/sets/dumps/0060set_multistmt_0.nft
new file mode 100644
index 00000000..df68fcdf
--- /dev/null
+++ b/tests/shell/testcases/sets/dumps/0060set_multistmt_0.nft
@@ -0,0 +1,13 @@
+table ip x {
+ set y {
+ type ipv4_addr
+ limit rate 1/second burst 5 packets counter
+ elements = { 1.1.1.1 limit rate 1/second burst 5 packets counter packets 0 bytes 0, 4.4.4.4 limit rate 1/second burst 5 packets counter packets 0 bytes 0,
+ 5.5.5.5 limit rate 1/second burst 5 packets counter packets 0 bytes 0 }
+ }
+
+ chain y {
+ type filter hook output priority filter; policy accept;
+ ip daddr @y
+ }
+}