fix: SUB-RULE with PROCESS-NAME rule payload not working (#953)

This commit is contained in:
Cesaryuan 2024-01-06 22:25:51 +08:00 committed by Larvan2
parent 6bc915526f
commit 7e3e38d054

View file

@ -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)
}