Fix fast-tracking of the block-IPs

This commit is contained in:
Daniel
2020-12-21 14:54:10 +01:00
parent 18cc0f2bf6
commit 68b6649a76

View File

@@ -93,6 +93,7 @@ func fastTrackedPermit(pkt packet.Packet) (handled bool) {
// Check for blocked IP
if meta.Dst.Equal(blockedIPv4) || meta.Dst.Equal(blockedIPv6) {
_ = pkt.PermanentBlock()
return true
}
switch meta.Protocol {