summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rwxr-xr-xlisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/translate/write/RemoteMappingCustomizer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/translate/write/RemoteMappingCustomizer.java b/lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/translate/write/RemoteMappingCustomizer.java
index 96ab9d3b0..72b70354b 100755
--- a/lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/translate/write/RemoteMappingCustomizer.java
+++ b/lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/translate/write/RemoteMappingCustomizer.java
@@ -155,7 +155,7 @@ public class RemoteMappingCustomizer extends FutureJVppCustomizer
return remoteLocator;
}).toArray(OneRemoteLocator[]::new);
- request.rlocNum = Integer.valueOf(rlocs.getLocator().size()).byteValue();
+ request.rlocNum = (byte) rlocs.getLocator().size();
}
getReply(getFutureJVpp().oneAddDelRemoteMapping(request).toCompletableFuture());