From ea5ae395bef0188a0f3d85444e9ae7abb611e051 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Fri, 22 Feb 2008 22:59:18 +0000 Subject: - fix broken 'deprecated backward compatibility' - fix glibc 2.7.20 compilation (based on patch from Paul P. Konkoff) --- include/internal.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') diff --git a/include/internal.h b/include/internal.h index b51450f..0c369aa 100644 --- a/include/internal.h +++ b/include/internal.h @@ -214,4 +214,13 @@ int __expect_callback(struct nlmsghdr *nlh, struct nfattr *nfa[], void *data); int __snprintf_expect(char *buf, unsigned int len, const struct nf_expect *exp, unsigned int type, unsigned int msg_output, unsigned int flags); int __snprintf_expect_default(char *buf, unsigned int len, const struct nf_expect *exp, unsigned int msg_type, unsigned int flags); +/* backward compatibility of the deprecated API */ +extern struct nfct_l3proto ipv4; +extern struct nfct_l3proto ipv6; + +extern struct nfct_proto tcp; +extern struct nfct_proto udp; +extern struct nfct_proto sctp; +extern struct nfct_proto icmp; + #endif -- cgit v1.2.3