diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org> | 2005-02-14 13:13:04 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org> | 2005-02-14 13:13:04 +0000 |
commit | 348fa4e735d2e09eadc5cb609903a73464bd56d3 (patch) | |
tree | 9939fb1f9e341e07e12d3904813e1b1a4e795854 /extensions/libipt_record_rpc.c | |
parent | b661082dc1e00ad8f25d8604500ec9b04fb99467 (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_record_rpc.c')
-rw-r--r-- | extensions/libipt_record_rpc.c | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/extensions/libipt_record_rpc.c b/extensions/libipt_record_rpc.c index 819c8ef..571d286 100644 --- a/extensions/libipt_record_rpc.c +++ b/extensions/libipt_record_rpc.c @@ -16,14 +16,6 @@ static struct option opts[] = { {0} }; -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 @@ -53,19 +45,18 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) } static -struct iptables_match record_rpc -= { NULL, - "record_rpc", - IPTABLES_VERSION, - IPT_ALIGN(0), - IPT_ALIGN(0), - &help, - &init, - &parse, - &final_check, - &print, - &save, - opts +struct iptables_match record_rpc = { + .next = NULL, + .name = "record_rpc", + .version = IPTABLES_VERSION, + .size = IPT_ALIGN(0), + .userspacesize = IPT_ALIGN(0), + .help = &help, + .parse = &parse, + .final_check = &final_check, + .print = &print, + .save = &save, + .extra_opts = opts }; void _init(void) |