summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_quota.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_quota.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_quota.c')
-rw-r--r--extensions/libipt_quota.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/extensions/libipt_quota.c b/extensions/libipt_quota.c
index b0de7adb..a9c138c5 100644
--- a/extensions/libipt_quota.c
+++ b/extensions/libipt_quota.c
@@ -24,14 +24,6 @@ help(void)
" --quota quota quota (bytes)\n" "\n");
}
-/* initialise match */
-static void
-init(struct ipt_entry_match *m, unsigned int *nfcache)
-{
- /* no can cache */
- *nfcache |= NFC_UNKNOWN;
-}
-
/* print matchinfo */
static void
print(const struct ipt_ip *ip, const struct ipt_entry_match *match, int numeric)
@@ -100,7 +92,6 @@ struct iptables_match quota = {
.size = IPT_ALIGN(sizeof (struct ipt_quota_info)),
.userspacesize = IPT_ALIGN(sizeof (struct ipt_quota_info)),
.help = &help,
- .init = &init,
.parse = &parse,
.final_check = &final_check,
.print = &print,