Skip to content

Commit

Permalink
fix matcher group
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Aug 19, 2018
1 parent edcf564 commit e72d4d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/strmatcher/strmatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e72d4d6

Please sign in to comment.