rpcd-mod-luci: use correct dlopen() flags
Fixes: #3707
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit ff4111f657
)
This commit is contained in:
parent
041863a15b
commit
59a53c954f
1 changed files with 1 additions and 1 deletions
|
@ -783,7 +783,7 @@ static bool rpc_luci_get_iwinfo(struct blob_buf *buf, const char *devname,
|
|||
int nret;
|
||||
|
||||
if (!iw_backend || !iw_close || !iw_modenames) {
|
||||
iwlib = dlopen("libiwinfo.so", RTLD_LOCAL);
|
||||
iwlib = dlopen("libiwinfo.so", RTLD_LAZY | RTLD_LOCAL);
|
||||
|
||||
if (!iwlib)
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue