summaryrefslogtreecommitdiff
path: root/package/ipsec-tools/patches/003-linux_2.6.19_rtnetlink_changes.diff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2008-08-20 22:00:41 +0000
committerNicolas Thill <nico@openwrt.org>2008-08-20 22:00:41 +0000
commit89124c8a0ab1baeb926108bb8dd503c24a25b75d (patch)
tree27743e0b45f666445f1b7cdb4287364bb008fe70 /package/ipsec-tools/patches/003-linux_2.6.19_rtnetlink_changes.diff
parentd9b755b3dc4f9121ab70b9d816ce813f6038ad6b (diff)
downloadmtk-20170518-89124c8a0ab1baeb926108bb8dd503c24a25b75d.zip
mtk-20170518-89124c8a0ab1baeb926108bb8dd503c24a25b75d.tar.gz
mtk-20170518-89124c8a0ab1baeb926108bb8dd503c24a25b75d.tar.bz2
move more extra packages from ./trunk to ./packages
SVN-Revision: 12359
Diffstat (limited to 'package/ipsec-tools/patches/003-linux_2.6.19_rtnetlink_changes.diff')
-rw-r--r--package/ipsec-tools/patches/003-linux_2.6.19_rtnetlink_changes.diff22
1 files changed, 0 insertions, 22 deletions
diff --git a/package/ipsec-tools/patches/003-linux_2.6.19_rtnetlink_changes.diff b/package/ipsec-tools/patches/003-linux_2.6.19_rtnetlink_changes.diff
deleted file mode 100644
index 52d092e..0000000
--- a/package/ipsec-tools/patches/003-linux_2.6.19_rtnetlink_changes.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: ipsec-tools-0.6.6/src/racoon/grabmyaddr.c
-===================================================================
---- ipsec-tools-0.6.6.orig/src/racoon/grabmyaddr.c 2007-06-04 13:22:36.521303200 +0200
-+++ ipsec-tools-0.6.6/src/racoon/grabmyaddr.c 2007-06-04 13:22:37.064220664 +0200
-@@ -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