strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
361f416
)
Initialize libstrongswan in starter (fixes Vstr logging).
author
Tobias Brunner
<tobias@strongswan.org>
Thu, 29 Apr 2010 12:33:29 +0000
(14:33 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Thu, 29 Apr 2010 12:33:29 +0000
(14:33 +0200)
src/starter/starter.c
patch
|
blob
|
history
diff --git
a/src/starter/starter.c
b/src/starter/starter.c
index
0aab76d
..
a740b26
100644
(file)
--- a/
src/starter/starter.c
+++ b/
src/starter/starter.c
@@
-28,6
+28,7
@@
#include <grp.h>
#include <freeswan.h>
+#include <library.h>
#include "../pluto/constants.h"
#include "../pluto/defs.h"
@@
-245,6
+246,9
@@
int main (int argc, char **argv)
log_to_stderr = TRUE;
base_debugging = DBG_NONE;
+ library_init(NULL);
+ atexit(library_deinit);
+
/* parse command line */
for (i = 1; i < argc; i++)
{