summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2006-02-01 12:57:34 +0000
committerHarald Welte <laforge@gnumonks.org>2006-02-01 12:57:34 +0000
commit11e4718d30d4f25b1cfb4655df3b773608ee5405 (patch)
tree2b46062be6e6f593f5b40d8cb52549491aa7ff6c /include/linux/netfilter_ipv4
parent38315b13504714f48e90363b62de2def0b05e9b8 (diff)
fix ipt_conntrack compilation against very early (2.4.0) kernel releases
Diffstat (limited to 'include/linux/netfilter_ipv4')
-rw-r--r--include/linux/netfilter_ipv4/ipt_conntrack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_conntrack.h b/include/linux/netfilter_ipv4/ipt_conntrack.h
index eba410d7..9f074c6d 100644
--- a/include/linux/netfilter_ipv4/ipt_conntrack.h
+++ b/include/linux/netfilter_ipv4/ipt_conntrack.h
@@ -13,7 +13,7 @@
#define KERNEL_VERSION(a,b,c) (((a) << 16) | ((b) << 8) | (c))
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)) || !defined IPS_EXPECTED
#define IPS_EXPECTED (1 << 0)
#define IPS_SEEN_REPLY (1 << 1)
#define IPS_ASSURED (1 << 2)