Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-14 06:13:09 +00:00

AI inspired fixes

This commit is contained in:
bol-van
2026-01-30 17:23:47 +03:00
parent 584d3b5925
commit 9128601820
4 changed files with 13 additions and 11 deletions

View File

@@ -234,10 +234,6 @@ static bool dp_match(
if (!ipp_filters_match(&dp->ipf, l3proto)) return false;
}
if (l3proto == IPPROTO_ICMP && !icmp_filters_match(&dp->icf, icmp_type, icmp_code))
// icmp filter does not match
return false;
if (!l7_proto_match(l7proto, dp->filter_l7))
// L7 filter does not match
return false;