summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ip6t_NPTV6_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ip6t_NPTV6_common.h b/ip6t_NPTV6_common.h
index 1bbcc03..efb5aa5 100644
--- a/ip6t_NPTV6_common.h
+++ b/ip6t_NPTV6_common.h
@@ -44,6 +44,11 @@
# define CHECKENTRY_RET_EINVAL (-EINVAL)
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)
+# define icmpv6_send(skb, type, code, info) icmpv6_send(skb, type, code, info, NULL)
+#endif
+
+
/* Ones' complement add */
static inline u_int16_t add16(u_int16_t a, u_int16_t b)
{