morse-feed/utils/morse-dppd/patches/001-find-hostapd_s1g.patch
Morse Micro c8fb813f41 dppd: add Morse Micro dpp daemon package and dependency
adds recipe for the Morse Micro dpp daemon and an updated version of libmicrohttpd
as required by the package - replicating that from the OpenWrt upstream.
2025-03-02 16:34:29 +11:00

14 lines
384 B
Diff

diff --git a/daemon/dppd.c b/daemon/dppd.c
index a524bd2..3885bc4 100644
--- a/daemon/dppd.c
+++ b/daemon/dppd.c
@@ -122,7 +122,7 @@ find_ctrl_if_path()
{
while ((dir_data = readdir(root_dir)) != NULL)
{
- if (strstr(dir_data->d_name, "hostapd"))
+ if (strstr(dir_data->d_name, "hostapd_s1g"))
{
if (found)