patch-src_starter_netkey_c 549 B

12345678910111213141516171819
  1. --- strongswan-4.4.0.orig/src/starter/netkey.c 2010-03-15 21:52:51.000000000 +0100
  2. +++ strongswan-4.4.0/src/starter/netkey.c 2010-07-14 19:05:06.911085736 +0200
  3. @@ -48,6 +48,8 @@ starter_netkey_init(void)
  4. }
  5. /* make sure that all required IPsec modules are loaded */
  6. + /* OpenADK loads all kernel modules already */
  7. +#if 0
  8. if (stat(PROC_MODULES, &stb) == 0)
  9. {
  10. ignore_result(system("modprobe -qv ah4"));
  11. @@ -60,6 +62,7 @@ starter_netkey_init(void)
  12. DBG(DBG_CONTROL,
  13. DBG_log("Found netkey IPsec stack")
  14. )
  15. +#endif
  16. return TRUE;
  17. }