From 8115e5425721cd610b6390c3d4c24540773b0520 Mon Sep 17 00:00:00 2001 From: Pablo Neira Date: Mon, 14 Feb 2005 13:13:04 +0000 Subject: Kill NFC_* stuff in iptables (Pablo Neira ) Fixes build with conntrack event patch for 2.6 --- extensions/libipt_length.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'extensions/libipt_length.c') diff --git a/extensions/libipt_length.c b/extensions/libipt_length.c index fcd14bcb..cfac1c5f 100644 --- a/extensions/libipt_length.c +++ b/extensions/libipt_length.c @@ -25,13 +25,6 @@ static struct option opts[] = { {0} }; -/* Initialize the match. */ -static void -init(struct ipt_entry_match *m, unsigned int *nfcache) -{ - *nfcache |= NFC_UNKNOWN; -} - static u_int16_t parse_length(const char *s) { @@ -145,7 +138,6 @@ static struct iptables_match length = { .size = IPT_ALIGN(sizeof(struct ipt_length_info)), .userspacesize = IPT_ALIGN(sizeof(struct ipt_length_info)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, -- cgit v1.2.3