starter: Use kernel interfaces to flush SAD and SPD.
This now supports platforms where neither 'ip xfrm' nor 'setkey' are available (like Android).
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <freeswan.h>
|
||||
#include <library.h>
|
||||
#include <hydra.h>
|
||||
|
||||
#include "../pluto/constants.h"
|
||||
#include "../pluto/defs.h"
|
||||
@@ -281,6 +282,9 @@ int main (int argc, char **argv)
|
||||
library_init(NULL);
|
||||
atexit(library_deinit);
|
||||
|
||||
libhydra_init("starter");
|
||||
atexit(libhydra_deinit);
|
||||
|
||||
/* parse command line */
|
||||
for (i = 1; i < argc; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user