diff options
author | pavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-05 01:38:44 +0000 |
---|---|---|
committer | pavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-05 01:38:44 +0000 |
commit | 151238116d88b6bcb983175367754c905a4953f6 (patch) | |
tree | c4ccc8a7f94e359e9bc13cc9908e6a8df9d59041 /package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff | |
parent | 40ce417a28ded37094c173f45b27b4f7c3f5c22f (diff) |
trunk.. same deal as changeset:6526
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6527 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff')
-rw-r--r-- | package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff b/package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff deleted file mode 100644 index 555290674..000000000 --- a/package/ipsec-tools/patches/03-linux_2.6.19_rtnetlink_changes.diff +++ /dev/null @@ -1,21 +0,0 @@ -diff -ruN ipsec-tools-0.6.6-old/src/racoon/grabmyaddr.c ipsec-tools-0.6.6-new/src/racoon/grabmyaddr.c ---- ipsec-tools-0.6.6-old/src/racoon/grabmyaddr.c 2005-07-16 06:41:01.000000000 +0200 -+++ ipsec-tools-0.6.6-new/src/racoon/grabmyaddr.c 2006-12-15 15:50:13.000000000 +0100 -@@ -77,10 +77,17 @@ - #ifdef __linux__ - #include <linux/types.h> - #include <linux/rtnetlink.h> -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) -+# include <linux/if_addr.h> -+#endif - #ifndef HAVE_GETIFADDRS - #define HAVE_GETIFADDRS - #define NEED_LINUX_GETIFADDRS - #endif -+#ifndef IFA_RTA -+# define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) -+#endif - #endif - - #ifndef HAVE_GETIFADDRS |