summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_u32.c
diff options
context:
space:
mode:
authorPablo Neira <pablo@eurodev.net>2005-02-14 13:13:04 +0000
committerPatrick McHardy <kaber@trash.net>2005-02-14 13:13:04 +0000
commit8115e5425721cd610b6390c3d4c24540773b0520 (patch)
tree9939fb1f9e341e07e12d3904813e1b1a4e795854 /extensions/libipt_u32.c
parent69558bf5d1acbc9112b7568d9db6aec2efa0fd7a (diff)
Kill NFC_* stuff in iptables (Pablo Neira <pablo@eurodev.net>)
Fixes build with conntrack event patch for 2.6
Diffstat (limited to 'extensions/libipt_u32.c')
-rw-r--r--extensions/libipt_u32.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/extensions/libipt_u32.c b/extensions/libipt_u32.c
index c5f5b4d9..75045100 100644
--- a/extensions/libipt_u32.c
+++ b/extensions/libipt_u32.c
@@ -37,13 +37,6 @@ static struct option opts[] = {
{ 0 }
};
-/* Initialize the match. */
-static void
-init(struct ipt_entry_match *m, unsigned int *nfcache)
-{
- *nfcache |= NFC_UNKNOWN;
-}
-
/* shared printing code */
static void print_u32(struct ipt_u32 *data)
{
@@ -257,7 +250,6 @@ struct iptables_match u32 = {
.size = IPT_ALIGN(sizeof(struct ipt_u32)),
.userspacesize = IPT_ALIGN(sizeof(struct ipt_u32)),
.help = &help,
- .init = &init,
.parse = &parse,
.final_check = &final_check,
.print = &print,