summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_iprange.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_iprange.c')
-rw-r--r--extensions/libipt_iprange.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/extensions/libipt_iprange.c b/extensions/libipt_iprange.c
index 7d5c1334..2ada8e27 100644
--- a/extensions/libipt_iprange.c
+++ b/extensions/libipt_iprange.c
@@ -26,14 +26,6 @@ static struct option opts[] = {
{0}
};
-/* Initialize the match. */
-static void
-init(struct ipt_entry_match *m, unsigned int *nfcache)
-{
- /* Can't cache this. */
- *nfcache |= NFC_UNKNOWN;
-}
-
static void
parse_iprange(char *arg, struct ipt_iprange *range)
{
@@ -180,7 +172,6 @@ static struct iptables_match iprange = {
.size = IPT_ALIGN(sizeof(struct ipt_iprange_info)),
.userspacesize = IPT_ALIGN(sizeof(struct ipt_iprange_info)),
.help = &help,
- .init = &init,
.parse = &parse,
.final_check = &final_check,
.print = &print,