mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 04:42:22 +08:00
Fix rule match
This commit is contained in:
parent
edf40da07c
commit
8cb11bf322
|
@ -400,6 +400,7 @@ func (r *Router) matchRule(
|
||||||
|
|
||||||
match:
|
match:
|
||||||
for currentRuleIndex, currentRule := range r.rules {
|
for currentRuleIndex, currentRule := range r.rules {
|
||||||
|
metadata.ResetRuleCache()
|
||||||
if !currentRule.Match(metadata) {
|
if !currentRule.Match(metadata) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user