diff options
Diffstat (limited to 'vpp-japi/japi/org/openvpp/vppjapi/vppIPv4Address.java')
-rw-r--r-- | vpp-japi/japi/org/openvpp/vppjapi/vppIPv4Address.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vpp-japi/japi/org/openvpp/vppjapi/vppIPv4Address.java b/vpp-japi/japi/org/openvpp/vppjapi/vppIPv4Address.java index cd60e711..046ceab5 100644 --- a/vpp-japi/japi/org/openvpp/vppjapi/vppIPv4Address.java +++ b/vpp-japi/japi/org/openvpp/vppjapi/vppIPv4Address.java @@ -15,12 +15,12 @@ package org.openvpp.vppjapi; -public class vppIPv4Address { - public int ip; - public byte prefixLength; +public final class vppIPv4Address { + public final int ip; + public final byte prefixLength; - public vppIPv4Address(int _ip, byte _prefixLength) { - ip = _ip; - prefixLength = _prefixLength; + public vppIPv4Address(int ip, byte prefixLength) { + this.ip = ip; + this.prefixLength = prefixLength; } } |