From b5c20f7f5549e04b6cc0b308d53eb190e4789e7f Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Sat, 2 Jan 2010 18:56:44 -0200 Subject: Add missing PropertyChanged signal for IPv4.Configuration --- src/service.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/service.c b/src/service.c index a941f44d..ddb9fcb5 100644 --- a/src/service.c +++ b/src/service.c @@ -447,6 +447,15 @@ static void settings_changed(struct connman_service *service) append_ipv4, service); } +static void ipv4_configuration_changed(struct connman_service *service) +{ + connman_dbus_property_changed_dict(service->path, + CONNMAN_SERVICE_INTERFACE, + "IPv4.Configuration", + append_ipv4config, + service); +} + static DBusMessage *get_properties(DBusConnection *conn, DBusMessage *msg, void *user_data) { @@ -727,6 +736,8 @@ static DBusMessage *set_property(DBusConnection *conn, if (err < 0) return __connman_error_failed(msg, -err); + ipv4_configuration_changed(service); + __connman_storage_save_service(service); } else return __connman_error_invalid_property(msg); -- cgit v1.2.3