summaryrefslogtreecommitdiffstats
path: root/l3/impl/src/main
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-05-25 15:53:18 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-05-25 15:53:19 +0200
commit223b2a315c5976efa040307f85d7cef7662fbb8f (patch)
tree38b0dce976ca1b11e94da6ff7b881593e46843bb /l3/impl/src/main
parent55fac84996a8c0bd6c588429190141b7f0f22731 (diff)
ProxyRangeCustomizer: use ProxyArp type
Fixes compilation issues caused by recent VPP ip.api change: https://gerrit.fd.io/r/#/c/12693/ Change-Id: Ibbf2b9ceaf6b214f2cbe80e57bc21f6541680739 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'l3/impl/src/main')
-rw-r--r--l3/impl/src/main/java/io/fd/hc2vpp/l3/write/ipv4/ProxyRangeCustomizer.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/l3/impl/src/main/java/io/fd/hc2vpp/l3/write/ipv4/ProxyRangeCustomizer.java b/l3/impl/src/main/java/io/fd/hc2vpp/l3/write/ipv4/ProxyRangeCustomizer.java
index 852959807..942dc20eb 100644
--- a/l3/impl/src/main/java/io/fd/hc2vpp/l3/write/ipv4/ProxyRangeCustomizer.java
+++ b/l3/impl/src/main/java/io/fd/hc2vpp/l3/write/ipv4/ProxyRangeCustomizer.java
@@ -25,6 +25,7 @@ import io.fd.honeycomb.translate.write.WriteFailedException;
import io.fd.vpp.jvpp.core.dto.ProxyArpAddDel;
import io.fd.vpp.jvpp.core.dto.ProxyArpAddDelReply;
import io.fd.vpp.jvpp.core.future.FutureJVppCore;
+import io.fd.vpp.jvpp.core.types.ProxyArp;
import java.net.InetAddress;
import java.util.concurrent.Future;
import javax.annotation.Nonnull;
@@ -88,9 +89,10 @@ public class ProxyRangeCustomizer extends FutureJVppCustomizer
final int vrfId) {
final ProxyArpAddDel proxyArpAddDel = new ProxyArpAddDel();
proxyArpAddDel.isAdd = isAdd;
- proxyArpAddDel.lowAddress = lAddr;
- proxyArpAddDel.hiAddress = hAddr;
- proxyArpAddDel.vrfId = vrfId;
+ proxyArpAddDel.proxy = new ProxyArp();
+ proxyArpAddDel.proxy.lowAddress = lAddr;
+ proxyArpAddDel.proxy.hiAddress = hAddr;
+ proxyArpAddDel.proxy.vrfId = vrfId;
return proxyArpAddDel;
}
}