mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-06-26 07:59:57 +00: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
|
||||
}
|
||||
|
||||
if rule.ShouldResolveIP() {
|
||||
logic.needIP = true
|
||||
}
|
||||
if rule.ShouldFindProcess() {
|
||||
logic.needProcess = true
|
||||
}
|
||||
|
||||
rules = append(rules, rule)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue