patch-src_starter_netkey_c 596 B

123456789101112131415161718
  1. --- strongswan-5.0.0.orig/src/starter/netkey.c 2012-06-13 06:32:03.000000000 +0200
  2. +++ strongswan-5.0.0/src/starter/netkey.c 2012-07-26 16:55:59.000000000 +0200
  3. @@ -43,6 +43,7 @@ bool starter_netkey_init(void)
  4. }
  5. /* make sure that all required IPsec modules are loaded */
  6. + /*
  7. if (stat(PROC_MODULES, &stb) == 0)
  8. {
  9. ignore_result(system("modprobe -qv ah4"));
  10. @@ -51,6 +52,7 @@ bool starter_netkey_init(void)
  11. ignore_result(system("modprobe -qv xfrm4_tunnel"));
  12. ignore_result(system("modprobe -qv xfrm_user"));
  13. }
  14. + */
  15. DBG2(DBG_APP, "found netkey IPsec stack");
  16. return TRUE;