summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756>2010-10-15 08:42:39 +0200
committersven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756>2010-10-15 08:42:39 +0200
commit564afd8f6d6b429c80daacd684168584284648b3 (patch)
tree0542070973af829f995168f98105d1862d5dda15
parent3cf513f2dee329916515342d19808dd7cb79ac17 (diff)
downloadNPTv6-564afd8f6d6b429c80daacd684168584284648b3.tar
NPTv6-564afd8f6d6b429c80daacd684168584284648b3.zip
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@34 3484d885-4da6-438d-b19d-107d078dd756
-rw-r--r--ip6t_MAP66.c3
-rw-r--r--libip6t_MAP66.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/ip6t_MAP66.c b/ip6t_MAP66.c
index 9491226..b58a364 100644
--- a/ip6t_MAP66.c
+++ b/ip6t_MAP66.c
@@ -61,6 +61,9 @@ static void map16(
# define __read_mostly
# define xt_register_target ip6t_register_target
# define xt_unregister_target ip6t_unregister_target
+#endif
+
+#ifndef pr_devel
# ifdef DEBUG
# define pr_devel(fmt, ...) printk(fmt, ##__VA_ARGS__)
# else
diff --git a/libip6t_MAP66.c b/libip6t_MAP66.c
index c710a69..0cb047d 100644
--- a/libip6t_MAP66.c
+++ b/libip6t_MAP66.c
@@ -36,6 +36,10 @@
# define NFPROTO_IPV6 PF_INET6
#endif
+#ifndef XT_ALIGN
+# define XT_ALIGN IP6T_ALIGN
+#endif
+
#include "ip6t_MAP66.h"
/* One's complement add */