diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-20 08:28:06 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-20 08:28:06 +0000 |
commit | 274d69a92270bf677a9f12b14e372152aa00e126 (patch) | |
tree | 719d46797dfd85be9b85de7e9af2546a664e4be1 /package | |
parent | a7651791e0b7025dca14435b8c3882355eda29bb (diff) |
be politically correct
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4019 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/openswan/patches/102-new_module_param.patch | 4 | ||||
-rw-r--r-- | package/switch/src/switch-adm.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/package/openswan/patches/102-new_module_param.patch b/package/openswan/patches/102-new_module_param.patch index 1e133e61fb..80c4a2f589 100644 --- a/package/openswan/patches/102-new_module_param.patch +++ b/package/openswan/patches/102-new_module_param.patch @@ -5,7 +5,7 @@ diff -ruN openswan-2.4.5-old/linux/net/ipsec/aes/ipsec_alg_aes.c openswan-2.4.5- static int keymaxbits=0; #if defined(CONFIG_KLIPS_ENC_AES_MODULE) MODULE_AUTHOR("JuanJo Ciarlante <jjo-ipsec@mendoza.gov.ar>"); -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,52) +module_param(debug_aes, int, 0); +module_param(test_aes, int, 0); +module_param(excl_aes, int, 0); @@ -26,7 +26,7 @@ diff -ruN openswan-2.4.5-old/linux/net/ipsec/aes/ipsec_alg_aes.c openswan-2.4.5- #else static int auth_id=9; #endif -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,52) +module_param(auth_id, int, 0); +#else MODULE_PARM(auth_id, "i"); diff --git a/package/switch/src/switch-adm.c b/package/switch/src/switch-adm.c index 921ad50a4c..083b6ebc47 100644 --- a/package/switch/src/switch-adm.c +++ b/package/switch/src/switch-adm.c @@ -49,7 +49,7 @@ static int force = 0; MODULE_AUTHOR("Felix Fietkau <openwrt@nbd.name>"); MODULE_LICENSE("GPL"); -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,52) module_param(eecs, int, 0); module_param(eesk, int, 0); module_param(eedi, int, 0); |