Message ID | 20241212052817.2021264-5-gerickson@nuovations.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Improve PAC URL Mutation and PAC URL and WISPr Proxy Failure Logging | expand |
diff --git a/src/service.c b/src/service.c index da851d681bc7..73cf8bca71a2 100644 --- a/src/service.c +++ b/src/service.c @@ -5600,9 +5600,13 @@ const char *connman_service_get_proxy_url(const struct connman_service *service) void __connman_service_set_proxy_autoconfig(struct connman_service *service, const char *url) { + const bool dochanged = true; + if (!service || service->hidden) return; + service_set_pac(service, url, !dochanged); + service->proxy = CONNMAN_SERVICE_PROXY_METHOD_AUTO; if (service->ipconfig_ipv4) {