From 348fa4e735d2e09eadc5cb609903a73464bd56d3 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org" 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_realm.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'extensions/libipt_realm.c') diff --git a/extensions/libipt_realm.c b/extensions/libipt_realm.c index ec9d3e3..90e6089 100644 --- a/extensions/libipt_realm.c +++ b/extensions/libipt_realm.c @@ -28,14 +28,6 @@ static struct option opts[] = { {0} }; -/* Initialize the match. */ -static void -init(struct ipt_entry_match *m, unsigned int *nfcache) -{ - /* Can't cache this */ - *nfcache |= NFC_UNKNOWN; -} - /* Function which parses command options; returns true if it ate an option */ static int @@ -122,7 +114,6 @@ static struct iptables_match realm = { NULL, .size = IPT_ALIGN(sizeof(struct ipt_realm_info)), .userspacesize = IPT_ALIGN(sizeof(struct ipt_realm_info)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, -- cgit v1.2.3