From: Patrik Flykt Date: Thu, 19 Apr 2012 08:00:08 +0000 (+0300) Subject: service: Send Timeservers.Configuration property changed X-Git-Tag: 0.81~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d0c65ad8f708f397816148fb5e34603b246ae2c;p=platform%2Fupstream%2Fconnman.git service: Send Timeservers.Configuration property changed Fixes BMC#25055. --- diff --git a/src/service.c b/src/service.c index 8f97c09..04be98e 100644 --- a/src/service.c +++ b/src/service.c @@ -1724,6 +1724,15 @@ static void proxy_configuration_changed(struct connman_service *service) proxy_changed(service); } +static void timeservers_configuration_changed(struct connman_service *service) +{ + connman_dbus_property_changed_array(service->path, + CONNMAN_SERVICE_INTERFACE, + "Timeservers.Configuration", + DBUS_TYPE_STRING, + append_tsconfig, service); +} + static void link_changed(struct connman_service *service) { connman_dbus_property_changed_dict(service->path, @@ -2933,6 +2942,7 @@ static DBusMessage *set_property(DBusConnection *conn, } service_save(service); + timeservers_configuration_changed(service); __connman_timeserver_sync(service); } else if (g_str_equal(name, "Domains.Configuration") == TRUE) {