summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_nth.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_nth.c')
-rw-r--r--extensions/libipt_nth.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/extensions/libipt_nth.c b/extensions/libipt_nth.c
index 569b1ade..6f483b9f 100644
--- a/extensions/libipt_nth.c
+++ b/extensions/libipt_nth.c
@@ -50,13 +50,6 @@ static struct option opts[] = {
{ 0 }
};
-/* Initialize the target. */
-static void
-init(struct ipt_entry_match *m, unsigned int *nfcache)
-{
- *nfcache |= NFC_UNKNOWN;
-}
-
#define IPT_NTH_OPT_EVERY 0x01
#define IPT_NTH_OPT_NOT_EVERY 0x02
#define IPT_NTH_OPT_START 0x04
@@ -224,7 +217,6 @@ static struct iptables_match nth = {
.size = IPT_ALIGN(sizeof(struct ipt_nth_info)),
.userspacesize = IPT_ALIGN(sizeof(struct ipt_nth_info)),
.help = &help,
- .init = &init,
.parse = &parse,
.final_check = &final_check,
.print = &print,