aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/kernel_pfkey
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-11-24 08:22:05 +0000
committerMartin Willi <martin@strongswan.org>2008-11-24 08:22:05 +0000
commitaddfea95dfc556a63cc3a0634780154939c9302b (patch)
treed734f1e8390c65fea6bb58c963f11d03c364f539 /src/charon/plugins/kernel_pfkey
parent18e2788fbeeeb155e5f6436664ea157de02a3526 (diff)
downloadstrongswan-addfea95dfc556a63cc3a0634780154939c9302b.tar.bz2
strongswan-addfea95dfc556a63cc3a0634780154939c9302b.tar.xz
moved the IPV6_IPSEC_POLICY definition to the ipsec plugins, fixes uClibc build
Diffstat (limited to 'src/charon/plugins/kernel_pfkey')
-rw-r--r--src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c b/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
index 237176925..70b1b09a4 100644
--- a/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
+++ b/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
@@ -43,6 +43,11 @@
#define IP_IPSEC_POLICY 16
#endif
+/* missing on uclibc */
+#ifndef IPV6_IPSEC_POLICY
+#define IPV6_IPSEC_POLICY 34
+#endif /*IPV6_IPSEC_POLICY*/
+
/** default priority of installed policies */
#define PRIO_LOW 3000
#define PRIO_HIGH 2000