From f7fcd91ce278baae2dfa9c269a94495a74e58b42 Mon Sep 17 00:00:00 2001 From: sven-ola Date: Fri, 8 Oct 2010 06:08:21 +0000 Subject: fix for kernel-2.4 git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@17 3484d885-4da6-438d-b19d-107d078dd756 --- ip6t_MAP66.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3