Did porting of PROXYARP and Forwarding to the new-datamodel branch.
Change-Id: Ibbc46e20e31627daf68149b7cb31b055d3441eaf
diff --git a/src/main/java/net/onrc/onos/ofcontroller/proxyarp/ArpReplyNotification.java b/src/main/java/net/onrc/onos/ofcontroller/proxyarp/ArpReplyNotification.java
index 48d04e0..081101e 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/proxyarp/ArpReplyNotification.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/proxyarp/ArpReplyNotification.java
@@ -1,7 +1,6 @@
package net.onrc.onos.ofcontroller.proxyarp;
import java.io.Serializable;
-import java.net.InetAddress;
import net.floodlightcontroller.util.MACAddress;
@@ -13,15 +12,16 @@
private static final long serialVersionUID = 1L;
- private InetAddress targetAddress;
+ private int targetAddress;
private MACAddress targetMacAddress;
+ protected ArpReplyNotification() {}
/**
* Class constructor.
* @param targetAddress IP address received from the ARP reply
* @param targetMacAddress MAC address received from the ARP reply
*/
- public ArpReplyNotification(InetAddress targetAddress,
+ public ArpReplyNotification(int targetAddress,
MACAddress targetMacAddress) {
this.targetAddress = targetAddress;
this.targetMacAddress = targetMacAddress;
@@ -31,7 +31,7 @@
* Returns the IP address of the ARP reply.
* @return the IP address
*/
- public InetAddress getTargetAddress() {
+ public int getTargetAddress() {
return targetAddress;
}