Fix ROA bug where max-length attribute equals MinLen in filter[,6].txt
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7993c9f7ed
commit
cbeceec690
@ -483,7 +483,7 @@ func (roa *ROA) CompileROA(registry *Registry,
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
// filter rules still have precedence over local values
|
// 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)
|
mlen = uint8(tmp)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user