From d3e26e08584c1ec07344a43479bf6b46b83a9dfe Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Fri, 23 Sep 2016 14:51:30 +0200 Subject: HONEYCOMB-195: increase coverage for ietf-acl customizers over 80% Change-Id: I6a56402e9309edcd84aba46689bbcb93d40e20f8 Signed-off-by: Marek Gradzki --- .../io/fd/honeycomb/translate/v3po/interfaces/acl/AceIp6Writer.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'v3po/v3po2vpp/src/main') 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 { 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 { 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)); } -- cgit 1.2.3-korg