Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: chromeos/dbus/fake_shill_manager_client.cc

Issue 708563005: Use setProperties for IP Config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430113_internet_options_1
Patch Set: IPConfigType=Static applies to NameServer only config Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/fake_shill_manager_client.cc
diff --git a/chromeos/dbus/fake_shill_manager_client.cc b/chromeos/dbus/fake_shill_manager_client.cc
index 2ef8327d0f07f07938ce013adbe012d8bfc41dc1..53c8216c209e40aca113efb713c43d68626bb665 100644
--- a/chromeos/dbus/fake_shill_manager_client.cc
+++ b/chromeos/dbus/fake_shill_manager_client.cc
@@ -596,7 +596,7 @@ void FakeShillManagerClient::SetupDefaultEnvironment() {
ipconfig_v4_dictionary.SetStringWithoutPathExpansion(
shill::kGatewayProperty, "0.0.0.1");
ipconfig_v4_dictionary.SetIntegerWithoutPathExpansion(
- shill::kPrefixlenProperty, 0);
+ shill::kPrefixlenProperty, 1);
pneubeck (no reviews) 2014/12/05 09:47:46 how is this change relevant?
stevenjb 2015/01/08 00:44:39 0 is not valid. I rely on the fake implementation
ipconfig_v4_dictionary.SetStringWithoutPathExpansion(
shill::kMethodProperty, shill::kTypeIPv4);
ip_configs->AddIPConfig("ipconfig_v4_path", ipconfig_v4_dictionary);

Powered by Google App Engine
This is Rietveld 408576698