Added a strongswan.conf "enabled" option for duplicheck plugin
This commit is contained in:
1 parent
c236b214f2
commit
f8d2f903bf
1 file changed
+6
@@ -59,6 +59,12 @@ plugin_t *duplicheck_plugin_create()
|
||||
{
|
||||
private_duplicheck_plugin_t *this;
|
||||
|
||||
if (!lib->settings->get_bool(lib->settings,
|
||||
"charon.plugins.duplicheck.enabled", TRUE))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
INIT(this,
|
||||
.public = {
|
||||
.plugin = {
|
||||
|
||||
Reference in new issue
Block a user