ACL-plugin does not match UDP next-header, VPP-687
[vpp.git] / src / plugins / acl / fa_node.c
index e12cbaa..b706fce 100644 (file)
@@ -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