From strajder, 3 Months ago, written in Plain Text.
Embed
  1. diff --git a/src/wispr.c b/src/wispr.c
  2. index c63dc819..d69ed70b 100644
  3. --- a/src/wispr.c
  4. +++ b/src/wispr.c
  5. @@ -916,6 +916,11 @@ static int wispr_portal_detect(struct connman_wispr_portal_context *wp_context)
  6.                 wp_context->status_url = STATUS_URL_IPV6;
  7.         }
  8.  
  9. +       /* Respect EnableOnlineCheck globally */
  10. +       if (!connman_setting_get_bool("EnableOnlineCheck")) {
  11. +               wp_context->status_url = "localhost";
  12. +       }
  13. +
  14.         for (i = 0; nameservers[i]; i++)
  15.                 g_web_add_nameserver(wp_context->web, nameservers[i]);
  16.