mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-01 13:06:50 +00:00
Fix: process rule type (#2206)
This commit is contained in:
1 parent
5497adaba1
commit
65a8e8f59c
1 file changed
+5
-1
+5
-1
@@ -14,7 +14,11 @@ type Process struct {
|
||||
}
|
||||
|
||||
func (ps *Process) RuleType() C.RuleType {
|
||||
return C.Process
|
||||
if ps.nameOnly {
|
||||
return C.Process
|
||||
}
|
||||
|
||||
return C.ProcessPath
|
||||
}
|
||||
|
||||
func (ps *Process) Match(metadata *C.Metadata) bool {
|
||||
|
||||
Reference in new issue
Block a user