Index: chromeos/dbus/shill_device_client.cc |
diff --git a/chromeos/dbus/shill_device_client.cc b/chromeos/dbus/shill_device_client.cc |
index 12be94df293fb7312ac793c1a0cbeda4d25f694d..b934aa0f97b0ce56c41583857bbc3026fd919c8d 100644 |
--- a/chromeos/dbus/shill_device_client.cc |
+++ b/chromeos/dbus/shill_device_client.cc |
@@ -211,7 +211,7 @@ class ShillDeviceClientImpl : public ShillDeviceClient { |
const net::IPEndPoint& ip_endpoint, |
const base::Closure& callback, |
const ErrorCallback& error_callback) override { |
- if (ip_endpoint.address().empty()) { |
+ if (ip_endpoint.address_number().empty()) { |
LOG(ERROR) << "AddWakeOnPacketConnection: null address"; |
return; |
} |
@@ -229,7 +229,7 @@ class ShillDeviceClientImpl : public ShillDeviceClient { |
const net::IPEndPoint& ip_endpoint, |
const base::Closure& callback, |
const ErrorCallback& error_callback) override { |
- if (ip_endpoint.address().empty()) { |
+ if (ip_endpoint.address_number().empty()) { |
LOG(ERROR) << "RemoveWakeOnPacketConnection: null address"; |
return; |
} |