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_quota.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'extensions/libipt_quota.c') 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, -- cgit v1.2.3