Store the name of the binary using libcharon to enable specific settings.

This commit is contained in:
Tobias Brunner
2012-05-03 13:57:04 +02:00
parent 37d9334366
commit 18758e3d2e
5 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ int main(int argc, char *argv[])
exit(SS_RC_INITIALIZATION_FAILED);
}
if (!libcharon_init())
if (!libcharon_init("charon"))
{
dbg_stderr(DBG_DMN, 1, "initialization failed - aborting charon");
goto deinit;