patch-src_starter_netkey_c 596 B

123456789101112131415161718
  1. --- strongswan-5.5.0.orig/src/starter/netkey.c 2016-04-22 22:01:35.000000000 +0200
  2. +++ strongswan-5.5.0/src/starter/netkey.c 2016-09-30 05:30:43.681874545 +0200
  3. @@ -42,6 +42,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. @@ -50,6 +51,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;