From e7b6734bc9a3530e215164e255141224a099661e Mon Sep 17 00:00:00 2001 From: Pavel Kotucek Date: Tue, 18 Apr 2017 13:12:20 +0200 Subject: ACL-plugin does not match UDP next-header, VPP-687 Change-Id: Ide4f9bd6158fb64d069540fb43f4e593e39d6ff3 Signed-off-by: Pavel Kotucek --- src/plugins/acl/fa_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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 -- cgit 1.2.3-korg