diff options
author | Patrick McHardy | 2006-11-29 02:35:22 +0100 |
---|---|---|
committer | David S. Miller | 2006-12-03 06:31:20 +0100 |
commit | e4bd8bce3e8b53e2c0a0d5c9afbc29731e517f8d (patch) | |
tree | 8a7a2e8c5130e002a6324703c31e67770af05993 /net/ipv4/netfilter/Makefile | |
parent | [NETFILTER]: nf_conntrack: sysctl compatibility with old connection tracking (diff) | |
download | kernel-qcow2-linux-e4bd8bce3e8b53e2c0a0d5c9afbc29731e517f8d.tar.gz kernel-qcow2-linux-e4bd8bce3e8b53e2c0a0d5c9afbc29731e517f8d.tar.xz kernel-qcow2-linux-e4bd8bce3e8b53e2c0a0d5c9afbc29731e517f8d.zip |
[NETFILTER]: nf_conntrack: /proc compatibility with old connection tracking
This patch adds /proc/net/ip_conntrack, /proc/net/ip_conntrack_expect and
/proc/net/stat/ip_conntrack files to keep old programs using them working.
The /proc/net/ip_conntrack and /proc/net/ip_conntrack_expect files show only
IPv4 entries, the /proc/net/stat/ip_conntrack shows global statistics.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv4/netfilter/Makefile')
-rw-r--r-- | net/ipv4/netfilter/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/Makefile b/net/ipv4/netfilter/Makefile index 09aaed1a8063..4ce20ebc4d6c 100644 --- a/net/ipv4/netfilter/Makefile +++ b/net/ipv4/netfilter/Makefile @@ -89,6 +89,11 @@ obj-$(CONFIG_IP_NF_QUEUE) += ip_queue.o # objects for l3 independent conntrack nf_conntrack_ipv4-objs := nf_conntrack_l3proto_ipv4.o nf_conntrack_proto_icmp.o +ifeq ($(CONFIG_NF_CONNTRACK_PROC_COMPAT),y) +ifeq ($(CONFIG_PROC_FS),y) +nf_conntrack_ipv4-objs += nf_conntrack_l3proto_ipv4_compat.o +endif +endif # l3 independent conntrack obj-$(CONFIG_NF_CONNTRACK_IPV4) += nf_conntrack_ipv4.o |