summaryrefslogtreecommitdiffstats
path: root/lisp/lisp2vpp/src/main/java/io/fd
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2016-09-30 14:18:15 +0200
committerJan Srnicek <jsrnicek@cisco.com>2016-09-30 14:20:04 +0200
commit90ab4a03a5b3ff662324019e497d832f7e396323 (patch)
tree27e6609e6bf1e7c44c3e5713ab6a48566d2392d0 /lisp/lisp2vpp/src/main/java/io/fd
parent59d7e8bbce13d0264858476342039ec5042a4c05 (diff)
HONEYCOMB-230 : Refactor of Adjacencies api use
Change-Id: Ia83a5792c0e86fd5054d713038c2ed0a1c44a34e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'lisp/lisp2vpp/src/main/java/io/fd')
-rwxr-xr-xlisp/lisp2vpp/src/main/java/io/fd/honeycomb/lisp/translate/write/AdjacencyCustomizer.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/lisp2vpp/src/main/java/io/fd/honeycomb/lisp/translate/write/AdjacencyCustomizer.java b/lisp/lisp2vpp/src/main/java/io/fd/honeycomb/lisp/translate/write/AdjacencyCustomizer.java
index a999bda61..9cd276741 100755
--- a/lisp/lisp2vpp/src/main/java/io/fd/honeycomb/lisp/translate/write/AdjacencyCustomizer.java
+++ b/lisp/lisp2vpp/src/main/java/io/fd/honeycomb/lisp/translate/write/AdjacencyCustomizer.java
@@ -92,10 +92,10 @@ public class AdjacencyCustomizer extends FutureJVppCustomizer
LispAddDelAdjacency request = new LispAddDelAdjacency();
request.isAdd = booleanToByte(add);
- request.seid = getEidAsByteArray(data.getLocalEid());
- request.seidLen = getPrefixLength(data.getLocalEid());
- request.deid = getEidAsByteArray(data.getRemoteEid());
- request.deidLen = getPrefixLength(data.getRemoteEid());
+ request.leid = getEidAsByteArray(data.getLocalEid());
+ request.leidLen = getPrefixLength(data.getLocalEid());
+ request.reid = getEidAsByteArray(data.getRemoteEid());
+ request.reidLen = getPrefixLength(data.getRemoteEid());
request.eidType = (byte) localEidType.getValue();
request.vni = vni;