summaryrefslogtreecommitdiffhomepage
path: root/libs/rpcd-mod-luci
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-03-02 08:17:56 +0100
committerJo-Philipp Wich <jo@mein.io>2020-03-02 08:18:30 +0100
commitff4111f6571d6faad7ae8b55c624d09b8c5f504a (patch)
treeb5150933b2e580a142da45dfc71547b40eb510ff /libs/rpcd-mod-luci
parent373940dcb85363769dc0a1da7ac8b88dde62634e (diff)
rpcd-mod-luci: use correct dlopen() flags
Fixes: #3707 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs/rpcd-mod-luci')
-rw-r--r--libs/rpcd-mod-luci/src/luci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rpcd-mod-luci/src/luci.c b/libs/rpcd-mod-luci/src/luci.c
index 951de5c46..1a1524d49 100644
--- a/libs/rpcd-mod-luci/src/luci.c
+++ b/libs/rpcd-mod-luci/src/luci.c
@@ -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;