summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_comment.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_comment.c')
-rw-r--r--extensions/libipt_comment.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/extensions/libipt_comment.c b/extensions/libipt_comment.c
index 253b267f..c543fc69 100644
--- a/extensions/libipt_comment.c
+++ b/extensions/libipt_comment.c
@@ -29,13 +29,6 @@ static struct option opts[] = {
{0}
};
-/* Initialize the match. */
-static void
-init(struct ipt_entry_match *m, unsigned int *nfcache)
-{
- *nfcache |= NFC_UNKNOWN;
-}
-
static void
parse_comment(const unsigned char *s, struct ipt_comment_info *info)
{
@@ -113,7 +106,6 @@ static struct iptables_match comment = {
.size = IPT_ALIGN(sizeof(struct ipt_comment_info)),
.userspacesize = IPT_ALIGN(sizeof(struct ipt_comment_info)),
.help = &help,
- .init = &init,
.parse = &parse,
.final_check = &final_check,
.print = &print,