summaryrefslogtreecommitdiffstats
path: root/extensions/.nth-test
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2001-07-21 14:42:43 +0000
committerHarald Welte <laforge@gnumonks.org>2001-07-21 14:42:43 +0000
commitb7722f29b7d1e376bc758d25aa5a9e1cd94b2d51 (patch)
tree6a00a5c5cbb15d88e62b3f033b1f8312e273bd2a /extensions/.nth-test
parente0bc7a4eabc45621a7a8cc2a32f178dae51f43e0 (diff)
added n'th packet match to patch-o-matic
Diffstat (limited to 'extensions/.nth-test')
-rwxr-xr-xextensions/.nth-test3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/.nth-test b/extensions/.nth-test
new file mode 100755
index 00000000..536da95d
--- /dev/null
+++ b/extensions/.nth-test
@@ -0,0 +1,3 @@
+#!/bin/sh
+# True if nth is applied.
+[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_nth.h ] && echo nth