commit | e50a56d64f2ac657402f931c35156493b0f435a0 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Thu Jul 21 16:03:04 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Jul 21 23:33:23 2016 +0000 |
tree | 2fa545a931bfad24df5367f91674d26882c20961 | |
parent | 4e3af86143bf36ce0553f06aa1b90aead89921bd [diff] |
Replace deprecated method usage. Change-Id: I119450c40926fc1b60d5f201e3f904ebb4b97a9c
diff --git a/core/net/src/main/java/org/onosproject/net/host/impl/HostMonitor.java b/core/net/src/main/java/org/onosproject/net/host/impl/HostMonitor.java index 1d7c37c..0d2d373 100644 --- a/core/net/src/main/java/org/onosproject/net/host/impl/HostMonitor.java +++ b/core/net/src/main/java/org/onosproject/net/host/impl/HostMonitor.java
@@ -190,7 +190,7 @@ return; } - for (InterfaceIpAddress ia : intf.ipAddresses()) { + for (InterfaceIpAddress ia : intf.ipAddressesList()) { if (ia.subnetAddress().contains(targetIp)) { sendProbe(intf.connectPoint(), targetIp, ia.ipAddress(), intf.mac(), intf.vlan());