service: Update Domains property when Domains.Configuration changes
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 29 May 2013 06:25:58 +0000 (09:25 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 29 May 2013 09:52:09 +0000 (12:52 +0300)
Domains property was not updated when Domains.Configuration was changed.
If Domains.Configuration is for example set to empty when using DHCP,
the Domains property is to be updated with the value configured via DHCP.

Fixes BMC#26010

src/service.c

index ff6fc3c4661edbfbe18eb3dde6640b9d8ac9b2a7..af8bfceee312a2fc246519e3e4f3270d82dd7e96 100644 (file)
@@ -3254,6 +3254,7 @@ static DBusMessage *set_property(DBusConnection *conn,
 
                update_nameservers(service);
                domain_configuration_changed(service);
+               domain_changed(service);
 
                service_save(service);
        } else if (g_str_equal(name, "Proxy.Configuration") == TRUE) {