Currently, even while having EnableOnlineCheck=false, EnableOnlineToReadyTransition=false and Enable6to4=false in the configuration file, connman seems to make connections to ipv4.connman.net and ipv6.connman.net in the function wispr_portal_detect in src/wispr.c. This patch makes the configuration option behave consistently by setting the status_url to "localhost" if EnableOnlineCheck=false. If a user doesn't want connman "pinging home", that should be respected. --- src/wispr.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wispr.c b/src/wispr.c index c63dc819..d69ed70b 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