diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-12-22 14:25:45 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-12-22 14:28:55 +0100 |
commit | 0f4d4af63ad5d0705f781a6e67090a60c48e6afa (patch) | |
tree | ce07ebb4febe12ca2a0c3e3554e5b3b2f20ee86e /v3po/v3po2vpp/src/main/java/io/fd | |
parent | d5e1e3a563807561caa0b64c414332d85a31f216 (diff) |
Fix b-vlan-tag-vlan-id translation
Change-Id: I32ba794673c3caaf8f07c1d2460a16d3c3a34202
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/v3po2vpp/src/main/java/io/fd')
-rw-r--r-- | v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/interfaces/pbb/PbbRewriteCustomizer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/interfaces/pbb/PbbRewriteCustomizer.java b/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/interfaces/pbb/PbbRewriteCustomizer.java index 3e8d82399..c2f703e69 100644 --- a/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/interfaces/pbb/PbbRewriteCustomizer.java +++ b/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/interfaces/pbb/PbbRewriteCustomizer.java @@ -112,8 +112,8 @@ public class PbbRewriteCustomizer extends FutureJVppCustomizer return checkNotNull(data.getSourceAddress(), "Destination address cannot be null").getValue(); } - private byte verifiedBVlanId(final PbbRewrite data) { - return (byte) checkNotNull(data.getBVlanTagVlanId(), "BVlan id cannot be null").shortValue(); + private short verifiedBVlanId(final PbbRewrite data) { + return checkNotNull(data.getBVlanTagVlanId(), "BVlan id cannot be null").shortValue(); } private int verifiedISid(final PbbRewrite data) { |