From cbeceec69030894211a114c3dbd71b250897a499 Mon Sep 17 00:00:00 2001 From: Simon Marsh Date: Fri, 3 Feb 2023 08:36:05 +0000 Subject: [PATCH] Fix ROA bug where max-length attribute equals MinLen in filter[,6].txt --- roaapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roaapi.go b/roaapi.go index f97b9e7..5533346 100644 --- a/roaapi.go +++ b/roaapi.go @@ -483,7 +483,7 @@ func (roa *ROA) CompileROA(registry *Registry, } else { // filter rules still have precedence over local values - if (uint8(tmp) < mlen) && (uint8(tmp) > filter.MinLen) { + if (uint8(tmp) < mlen) && (uint8(tmp) >= filter.MinLen) { mlen = uint8(tmp) }