summaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-03-28 12:55:09 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-04-03 08:46:59 (GMT)
commitc30c95f50672fa4d31ce3227b5c7c5f1bb489c51 (patch)
tree05d6831a15f5da39e12e879d82dd5e8368203894 /vpn
parent0a7f60d8087db15ae84ddc442b7c3dd01c2e39c5 (diff)
downloadconnman-c30c95f50672fa4d31ce3227b5c7c5f1bb489c51.zip
connman-c30c95f50672fa4d31ce3227b5c7c5f1bb489c51.tar.gz
connman-c30c95f50672fa4d31ce3227b5c7c5f1bb489c51.tar.bz2
vpn-provider: Send domain name to connman when connection is ready
Fixes BMC#25994
Diffstat (limited to 'vpn')
-rw-r--r--vpn/vpn-provider.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/vpn/vpn-provider.c b/vpn/vpn-provider.c
index d591605..513d926 100644
--- a/vpn/vpn-provider.c
+++ b/vpn/vpn-provider.c
@@ -1288,6 +1288,13 @@ static int provider_indicate_state(struct vpn_provider *provider,
"Nameservers",
DBUS_TYPE_STRING,
append_dns, provider);
+
+ if (provider->domain != NULL)
+ connman_dbus_property_changed_basic(provider->path,
+ VPN_CONNECTION_INTERFACE,
+ "Domain",
+ DBUS_TYPE_STRING,
+ &provider->domain);
}
if (old_state != state)