diff options
Diffstat (limited to 'vpp-japi/japi/org/openvpp/vppjapi/vppIPv6Address.java')
-rw-r--r-- | vpp-japi/japi/org/openvpp/vppjapi/vppIPv6Address.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vpp-japi/japi/org/openvpp/vppjapi/vppIPv6Address.java b/vpp-japi/japi/org/openvpp/vppjapi/vppIPv6Address.java index efaa89c2ad5..7bf10f23402 100644 --- a/vpp-japi/japi/org/openvpp/vppjapi/vppIPv6Address.java +++ b/vpp-japi/japi/org/openvpp/vppjapi/vppIPv6Address.java @@ -16,8 +16,9 @@ package org.openvpp.vppjapi; public class vppIPv6Address { - public byte[] ip; - public byte prefixLength; + // FIXME: this is dangerous + public final byte[] ip; + public final byte prefixLength; public vppIPv6Address(byte[] _ip, byte _prefixLength) { ip = _ip; |