Adds utility functions related to the link local addresses
Change-Id: I26045542d4f9d60a0d7d0905087136b995f8c03e
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 66b5fa5..7375105 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
@@ -221,13 +221,13 @@
* we should use the solicitation node address as IPv6 destination
* and the multicast mac address as Ethernet destination.
*/
- byte[] destIp = IPv6.solicitationNodeAddress(targetIp.toOctets());
+ byte[] destIp = IPv6.getSolicitNodeAddress(targetIp.toOctets());
probePacket = NeighborSolicitation.buildNdpSolicit(
targetIp.toOctets(),
sourceIp.toOctets(),
destIp,
sourceMac.toBytes(),
- IPv6.multicastMacAddress(destIp),
+ IPv6.getMCastMacAddress(destIp),
vlan
);
}