summaryrefslogtreecommitdiffstats
path: root/tests/stmt-log
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-03-18 04:55:00 +0100
committerPatrick McHardy <kaber@trash.net>2009-03-18 04:55:00 +0100
commitfac10ea799fe9b6158d74f66d6ad46536d38a545 (patch)
tree8c093bcbb2144aab54c70103e6ed438456ae0d48 /tests/stmt-log
Initial commitv0.01-alpha1
Diffstat (limited to 'tests/stmt-log')
-rwxr-xr-xtests/stmt-log6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/stmt-log b/tests/stmt-log
new file mode 100755
index 00000000..c2d0f868
--- /dev/null
+++ b/tests/stmt-log
@@ -0,0 +1,6 @@
+#! nft -f
+
+table add ip filter
+chain add ip filter output NF_INET_LOCAL_OUT 0
+
+rule add ip filter output log saddr "prefix" group 0 counter