]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
moved the IPV6_IPSEC_POLICY definition to the ipsec plugins, fixes uClibc build
authorMartin Willi <martin@strongswan.org>
Mon, 24 Nov 2008 08:22:05 +0000 (08:22 -0000)
committerMartin Willi <martin@strongswan.org>
Mon, 24 Nov 2008 08:22:05 +0000 (08:22 -0000)
src/charon/network/socket.c
src/charon/plugins/kernel_netlink/kernel_netlink_ipsec.c
src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c

index 53435b48176a869fee3d9f8e97cbfae6adc3163b..c43ba020749a3e120540748f0180d2b09cec2282 100644 (file)
 #define IPV6_2292PKTINFO 2
 #endif /*IPV6_2292PKTINFO*/
 
-/* missing on uclibc */
-#ifndef IPV6_IPSEC_POLICY
-#define IPV6_IPSEC_POLICY 34
-#endif /*IPV6_IPSEC_POLICY*/
-
 typedef struct private_socket_t private_socket_t;
 
 /**
index c395aac1fbddf85f7396e899b14bda62ead79142..bf74f8e8200007778c8763cc9f95f3a5408467aa 100644 (file)
 #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
index 2371769252064257798c0783820024f0a058a389..70b1b09a415dcfb327a62b70592d5a313cbf401a 100644 (file)
 #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