1
mirror of https://git.burble.com/burble.dn42/dn42regsrv.git synced 2024-02-26 20:28:04 +01:00

Fix ROA bug where max-length attribute equals MinLen in filter[,6].txt

This commit is contained in:
Simon Marsh 2023-02-03 08:36:05 +00:00
parent 7993c9f7ed
commit cbeceec690

View File

@ -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)
}