On 21/08/28 07:16, Страхиња Радић wrote: > + if (connman_setting_get_bool("EnableOnlineCheck")) { This should read + if (!connman_setting_get_bool("EnableOnlineCheck")) { sorry. I'm sending the modified patch with this email. --- src/wispr.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wispr.c b/src/wispr.c index c63dc819..7b52914e 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -916,6 +916,11 @@ static int wispr_portal_detect(struct connman_wispr_portal_context *wp_context) wp_context->status_url = STATUS_URL_IPV6; } + /* Respect EnableOnlineCheck globally */ + if (!connman_setting_get_bool("EnableOnlineCheck")) { + wp_context->status_url = "localhost"; + } + for (i = 0; nameservers[i]; i++) g_web_add_nameserver(wp_context->web, nameservers[i]); -- 2.33.0