Committed by
Gerrit Code Review
Replace deprecated method usage.
Change-Id: I119450c40926fc1b60d5f201e3f904ebb4b97a9c
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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()); | ... | ... |
-
Please register or login to post a comment