summaryrefslogtreecommitdiffstats
path: root/src/plugins/acl/fa_node.c
diff options
context:
space:
mode:
authorPavel Kotucek <pkotucek@cisco.com>2017-04-18 13:12:20 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-04-18 19:35:59 +0000
commite7b6734bc9a3530e215164e255141224a099661e (patch)
treed7012f9a486ce0443aff2539b364109b63239b39 /src/plugins/acl/fa_node.c
parent1f75cfd73320476a8f821064391fe368dd4bf75b (diff)
ACL-plugin does not match UDP next-header, VPP-687
Change-Id: Ide4f9bd6158fb64d069540fb43f4e593e39d6ff3 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
Diffstat (limited to 'src/plugins/acl/fa_node.c')
-rw-r--r--src/plugins/acl/fa_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/acl/fa_node.c b/src/plugins/acl/fa_node.c
index e12cbaa731d..b706fce87a8 100644
--- a/src/plugins/acl/fa_node.c
+++ b/src/plugins/acl/fa_node.c
@@ -307,7 +307,7 @@ static int
offset_within_packet (vlib_buffer_t * b0, int offset)
{
/* For the purposes of this code, "within" means we have at least 8 bytes after it */
- return (offset < (b0->current_length - 8));
+ return (offset <= (b0->current_length - 8));
}
static void