mirror of
https://abf.rosa.ru/djam/strongswan.git
synced 2025-02-23 14:02:51 +00:00
12 lines
624 B
Diff
12 lines
624 B
Diff
diff -urNp strongswan-5.1.0-patched/src/libstrongswan/plugins/plugin_loader.c strongswan-5.1.0-current/src/libstrongswan/plugins/plugin_loader.c
|
|
--- strongswan-5.1.0-patched/src/libstrongswan/plugins/plugin_loader.c 2013-08-06 17:16:36.266031511 -0400
|
|
+++ strongswan-5.1.0-current/src/libstrongswan/plugins/plugin_loader.c 2013-08-06 17:49:15.703354848 -0400
|
|
@@ -353,7 +353,7 @@ static plugin_entry_t *load_plugin(priva
|
|
return NULL;
|
|
}
|
|
}
|
|
- handle = dlopen(file, RTLD_LAZY);
|
|
+ handle = dlopen(file, RTLD_NOW|RTLD_GLOBAL);
|
|
if (handle == NULL)
|
|
{
|
|
DBG1(DBG_LIB, "plugin '%s' failed to load: %s", name, dlerror());
|