diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-09-23 14:51:30 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-09-26 08:19:26 +0200 |
commit | d3e26e08584c1ec07344a43479bf6b46b83a9dfe (patch) | |
tree | 8b8b5d89631ada0c17e1226f13327398876a9758 /v3po/v3po2vpp/src/main/java | |
parent | 0cfdff5e57bd6357acc64debf0ee49c9455a24d7 (diff) |
HONEYCOMB-195: increase coverage for ietf-acl customizers over 80%
Change-Id: I6a56402e9309edcd84aba46689bbcb93d40e20f8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/v3po2vpp/src/main/java')
-rw-r--r-- | v3po/v3po2vpp/src/main/java/io/fd/honeycomb/translate/v3po/interfaces/acl/AceIp6Writer.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/translate/v3po/interfaces/acl/AceIp6Writer.java b/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/translate/v3po/interfaces/acl/AceIp6Writer.java index 1e222ec6a..94390835f 100644 --- a/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/translate/v3po/interfaces/acl/AceIp6Writer.java +++ b/v3po/v3po2vpp/src/main/java/io/fd/honeycomb/translate/v3po/interfaces/acl/AceIp6Writer.java @@ -106,6 +106,7 @@ final class AceIp6Writer extends AbstractAceWriter<AceIp> { final int baseOffset = getVlanTagsLen(vlanTags); if (aceIp.getProtocol() != null) { + aceIsEmpty = false; request.mask[baseOffset + IP_VERSION_OFFSET] |= IP_VERSION_MASK; } @@ -168,6 +169,7 @@ final class AceIp6Writer extends AbstractAceWriter<AceIp> { final int baseOffset = getVlanTagsLen(vlanTags); if (aceIp.getProtocol() != null) { + noMatch = false; request.match[baseOffset + IP_VERSION_OFFSET] |= (byte) (IP_VERSION_MASK & (aceIp.getProtocol().intValue() << 4)); } |