summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/packetpath/dumps/policy.nft
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/packetpath/dumps/policy.nft')
-rw-r--r--tests/shell/testcases/packetpath/dumps/policy.nft11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/shell/testcases/packetpath/dumps/policy.nft b/tests/shell/testcases/packetpath/dumps/policy.nft
new file mode 100644
index 00000000..e625ea6c
--- /dev/null
+++ b/tests/shell/testcases/packetpath/dumps/policy.nft
@@ -0,0 +1,11 @@
+table inet filter {
+ chain underflow {
+ }
+
+ chain input {
+ type filter hook input priority filter; policy drop;
+ icmp type echo-reply accept
+ ip saddr 127.0.0.1 ip daddr 127.0.0.2 counter packets 3 bytes 252 accept
+ goto underflow
+ }
+}