mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 08:31:30 +00:00
Fix process_name rule item
This commit is contained in:
parent
67c7e9fd86
commit
426b677eb8
|
@ -28,7 +28,7 @@ func NewProcessItem(processNameList []string) *ProcessItem {
|
||||||
processMap: make(map[string]bool),
|
processMap: make(map[string]bool),
|
||||||
}
|
}
|
||||||
for _, processName := range processNameList {
|
for _, processName := range processNameList {
|
||||||
rule.processMap[strings.ToLower(processName)] = true
|
rule.processMap[processName] = true
|
||||||
}
|
}
|
||||||
return rule
|
return rule
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue