summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/shill_manager_client_stub.cc
diff options
context:
space:
mode:
authorgauravsh@chromium.org <gauravsh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-02 23:24:28 +0000
committergauravsh@chromium.org <gauravsh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-02 23:24:28 +0000
commit362fb225a9ad9e27a4f04b11893c0f0b0fb4865d (patch)
tree16da62d553439fa2123ce5d41e1cd0ebfe8a3194 /chromeos/dbus/shill_manager_client_stub.cc
parent5b2c5f170fd5677a3ad640c390fb24c75873fa3d (diff)
downloadchromium_src-362fb225a9ad9e27a4f04b11893c0f0b0fb4865d.zip
chromium_src-362fb225a9ad9e27a4f04b11893c0f0b0fb4865d.tar.gz
chromium_src-362fb225a9ad9e27a4f04b11893c0f0b0fb4865d.tar.bz2
NetworkChangeNotifierChromeos: Handle IPConfig property changes on the default network
BUG=164501 TEST=verify that dns refreshes while in connected state result in a dns change. Review URL: https://chromiumcodereview.appspot.com/12634019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191929 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/shill_manager_client_stub.cc')
-rw-r--r--chromeos/dbus/shill_manager_client_stub.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chromeos/dbus/shill_manager_client_stub.cc b/chromeos/dbus/shill_manager_client_stub.cc
index 468c727b..f19c5a5 100644
--- a/chromeos/dbus/shill_manager_client_stub.cc
+++ b/chromeos/dbus/shill_manager_client_stub.cc
@@ -176,8 +176,12 @@ void ShillManagerClientStub::ConfigureService(
return;
}
+ std::string ipconfig_path;
+ properties.GetString(shill::kIPConfigProperty, &ipconfig_path);
+
// Add the service to the service client stub if not already there.
- service_client->AddService(guid, guid, type, flimflam::kStateIdle, true);
+ service_client->AddServiceWithIPConfig(guid, guid, type, flimflam::kStateIdle,
+ ipconfig_path, true);
// Merge the new properties with existing properties, if any.
scoped_ptr<base::DictionaryValue> merged_properties;