diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2007-12-03 19:48:11 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2007-12-03 19:48:11 +0000 |
| commit | 856e457b7301947f17866dc4a5aedb3f7117f163 (patch) | |
| tree | 5f4400235fcdaaa6eba40b08db304d60440936ff /package/openswan/patches/130-sysctl_api_change.patch | |
| parent | 2bcaf23a684175838599c7755b6345da7312e12d (diff) | |
| download | mtk-20170518-856e457b7301947f17866dc4a5aedb3f7117f163.zip mtk-20170518-856e457b7301947f17866dc4a5aedb3f7117f163.tar.gz mtk-20170518-856e457b7301947f17866dc4a5aedb3f7117f163.tar.bz2 | |
update openswan to 0.4.10, reenable 2.6 support, sync with included openwrt packaging code (ported from wr to kamikaze)
SVN-Revision: 9651
Diffstat (limited to 'package/openswan/patches/130-sysctl_api_change.patch')
| -rw-r--r-- | package/openswan/patches/130-sysctl_api_change.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/package/openswan/patches/130-sysctl_api_change.patch b/package/openswan/patches/130-sysctl_api_change.patch deleted file mode 100644 index 894d273..0000000 --- a/package/openswan/patches/130-sysctl_api_change.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: openswan-2.4.8/linux/net/ipsec/sysctl_net_ipsec.c -=================================================================== ---- openswan-2.4.8.orig/linux/net/ipsec/sysctl_net_ipsec.c 2007-06-04 13:22:49.815282208 +0200 -+++ openswan-2.4.8/linux/net/ipsec/sysctl_net_ipsec.c 2007-06-04 13:22:51.852972432 +0200 -@@ -130,7 +130,11 @@ - - int ipsec_sysctl_register(void) - { -- ipsec_table_header = register_sysctl_table(ipsec_root_table, 0); -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,20) -+ ipsec_table_header = register_sysctl_table(ipsec_root_table); -+#else -+ ipsec_table_header = register_sysctl_table(ipsec_root_table, 0); -+#endif - if (!ipsec_table_header) { - return -ENOMEM; - } |
