Yuta HIGUCHI
Committed by Gerrit Code Review

Replace deprecated method usage.

Change-Id: I119450c40926fc1b60d5f201e3f904ebb4b97a9c
...@@ -190,7 +190,7 @@ public class HostMonitor implements TimerTask { ...@@ -190,7 +190,7 @@ public class HostMonitor implements TimerTask {
190 return; 190 return;
191 } 191 }
192 192
193 - for (InterfaceIpAddress ia : intf.ipAddresses()) { 193 + for (InterfaceIpAddress ia : intf.ipAddressesList()) {
194 if (ia.subnetAddress().contains(targetIp)) { 194 if (ia.subnetAddress().contains(targetIp)) {
195 sendProbe(intf.connectPoint(), targetIp, ia.ipAddress(), 195 sendProbe(intf.connectPoint(), targetIp, ia.ipAddress(),
196 intf.mac(), intf.vlan()); 196 intf.mac(), intf.vlan());
......