summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_nth.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libip6t_nth.c')
-rw-r--r--extensions/libip6t_nth.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/extensions/libip6t_nth.c b/extensions/libip6t_nth.c
index 26eeb26e..19b13f79 100644
--- a/extensions/libip6t_nth.c
+++ b/extensions/libip6t_nth.c
@@ -50,13 +50,6 @@ static struct option opts[] = {
{ 0 }
};
-/* Initialize the target. */
-static void
-init(struct ip6t_entry_match *m, unsigned int *nfcache)
-{
- *nfcache |= NFC_UNKNOWN;
-}
-
#define IP6T_NTH_OPT_EVERY 0x01
#define IP6T_NTH_OPT_NOT_EVERY 0x02
#define IP6T_NTH_OPT_START 0x04
@@ -223,7 +216,6 @@ struct ip6tables_match nth = {
.size = IP6T_ALIGN(sizeof(struct ip6t_nth_info)),
.userspacesize = IP6T_ALIGN(sizeof(struct ip6t_nth_info)),
.help = &help,
- .init = &init,
.parse = &parse,
.final_check = &final_check,
.print = &print,