mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-06 09:15:37 -05:00
fix matcher group
This commit is contained in:
@@ -89,6 +89,10 @@ func (g *MatcherGroup) Match(pattern string) uint32 {
|
||||
return c
|
||||
}
|
||||
|
||||
if c := g.domainMatcher.Match(pattern); c > 0 {
|
||||
return c
|
||||
}
|
||||
|
||||
for _, e := range g.otherMatchers {
|
||||
if e.m.Match(pattern) {
|
||||
return e.id
|
||||
|
||||
Reference in New Issue
Block a user