Merge branch 'enable-fragmentation'
[strongswan.git] / src / starter / netkey.c
index 2b500ba..b150d3e 100644 (file)
@@ -17,7 +17,6 @@
 #include <stdlib.h>
 
 #include <library.h>
-#include <hydra.h>
 #include <utils/debug.h>
 
 #include "files.h"
@@ -55,16 +54,3 @@ bool starter_netkey_init(void)
        DBG2(DBG_APP, "found netkey IPsec stack");
        return TRUE;
 }
-
-void starter_netkey_cleanup(void)
-{
-       if (!lib->plugins->load(lib->plugins,
-                       lib->settings->get_str(lib->settings, "starter.load", PLUGINS)))
-       {
-               DBG1(DBG_APP, "unable to load kernel plugins");
-               return;
-       }
-       hydra->kernel_interface->flush_sas(hydra->kernel_interface);
-       hydra->kernel_interface->flush_policies(hydra->kernel_interface);
-       lib->plugins->unload(lib->plugins);
-}