From: Tobias Brunner Date: Mon, 8 Feb 2016 16:22:23 +0000 (+0100) Subject: charon-svc: Inherit all settings from the charon section X-Git-Tag: 5.4.0rc1~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e190dca041a02877b9d639b92c00344c01c0743;p=thirdparty%2Fstrongswan.git charon-svc: Inherit all settings from the charon section Same as with charon-systemd. --- diff --git a/src/charon-svc/charon-svc.c b/src/charon-svc/charon-svc.c index 522cd127e6..823b366c07 100644 --- a/src/charon-svc/charon-svc.c +++ b/src/charon-svc/charon-svc.c @@ -188,6 +188,15 @@ static int service_wait() return 0; } +/** + * Add namespace alias + */ +static void __attribute__ ((constructor))register_namespace() +{ + /* inherit settings from charon */ + library_add_namespace("charon"); +} + /** * Initialize and run charon using a wait function */