summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756>2010-10-08 08:08:21 +0200
committersven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756>2010-10-08 08:08:21 +0200
commitf7fcd91ce278baae2dfa9c269a94495a74e58b42 (patch)
treefe867661ea1df42f481f98ee282286b1e72c11de
parent4a6aa38c93082933157feb596322a6964ba7500e (diff)
downloadNPTv6-f7fcd91ce278baae2dfa9c269a94495a74e58b42.tar
NPTv6-f7fcd91ce278baae2dfa9c269a94495a74e58b42.zip
fix for kernel-2.4
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@17 3484d885-4da6-438d-b19d-107d078dd756
-rw-r--r--ip6t_MAP66.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ip6t_MAP66.c b/ip6t_MAP66.c
index a887eef..239378e 100644
--- a/ip6t_MAP66.c
+++ b/ip6t_MAP66.c
@@ -55,12 +55,13 @@ static void map16(
# ifndef bool
# define bool int
# define false 0
-# define true 0
+# define true 1
# endif
# define xt_target ip6t_target
# define __read_mostly
# define xt_register_target ip6t_register_target
# define xt_unregister_target ip6t_unregister_target
+# define pr_devel(fmt, ...) ({ if (0); })
#endif
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,24)