service->proxy = method;
+ proxy_changed(service);
+
+ if (method != CONNMAN_SERVICE_PROXY_METHOD_AUTO)
+ __connman_notifier_proxy_changed(service);
}
enum connman_service_proxy_method connman_service_get_proxy_method(
return;
proxy_changed(service);
+
+ __connman_notifier_proxy_changed(service);
}
const char *connman_service_get_proxy_autoconfig(struct connman_service *service)
(proxy_config ==
CONNMAN_SERVICE_PROXY_METHOD_AUTO &&
service->pac == NULL)))
- if (__connman_wpad_start(service) < 0)
+ if (__connman_wpad_start(service) < 0) {
service->proxy =
CONNMAN_SERVICE_PROXY_METHOD_DIRECT;
+ __connman_notifier_proxy_changed(service);
+ }
+
__connman_notifier_connect(service->type);
default_changed();