mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-04 00:23:43 +08:00
fix: SUB-RULE with PROCESS-NAME rule payload not working (#953)
This commit is contained in:
parent
6bc915526f
commit
7e3e38d054
@ -217,6 +217,13 @@ func (logic *Logic) parsePayload(payload string, parseRule ParseRuleFunc) error
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if rule.ShouldResolveIP() {
|
||||||
|
logic.needIP = true
|
||||||
|
}
|
||||||
|
if rule.ShouldFindProcess() {
|
||||||
|
logic.needProcess = true
|
||||||
|
}
|
||||||
|
|
||||||
rules = append(rules, rule)
|
rules = append(rules, rule)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user