29 lines
994 B
Diff
29 lines
994 B
Diff
|
--- a/src/starter/netkey.c
|
||
|
+++ b/src/starter/netkey.c
|
||
|
@@ -34,7 +34,7 @@ starter_netkey_init(void)
|
||
|
/* af_key module makes the netkey proc interface visible */
|
||
|
if (stat(PROC_MODULES, &stb) == 0)
|
||
|
{
|
||
|
- ignore_result(system("modprobe -qv af_key"));
|
||
|
+ ignore_result(system("insmod -qv af_key"));
|
||
|
}
|
||
|
|
||
|
/* now test again */
|
||
|
@@ -50,11 +50,11 @@ starter_netkey_init(void)
|
||
|
/* make sure that all required IPsec modules are loaded */
|
||
|
if (stat(PROC_MODULES, &stb) == 0)
|
||
|
{
|
||
|
- ignore_result(system("modprobe -qv ah4"));
|
||
|
- ignore_result(system("modprobe -qv esp4"));
|
||
|
- ignore_result(system("modprobe -qv ipcomp"));
|
||
|
- ignore_result(system("modprobe -qv xfrm4_tunnel"));
|
||
|
- ignore_result(system("modprobe -qv xfrm_user"));
|
||
|
+ ignore_result(system("insmod -qv ah4"));
|
||
|
+ ignore_result(system("insmod -qv esp4"));
|
||
|
+ ignore_result(system("insmod -qv ipcomp"));
|
||
|
+ ignore_result(system("insmod -qv xfrm4_tunnel"));
|
||
|
+ ignore_result(system("insmod -qv xfrm_user"));
|
||
|
}
|
||
|
|
||
|
DBG(DBG_CONTROL,
|