1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-26 12:05:35 -05:00

Create a name for linear domain matcher

This commit is contained in:
Shelikhoo
2021-03-07 13:39:36 +00:00
parent 867bbb429e
commit e24ddf588e

View File

@@ -77,6 +77,8 @@ func (rr *RoutingRule) BuildCondition() (Condition, error) {
}
newError("ACAutomatonDomainMatcher is enabled for ", len(rr.Domain), "domain rules(s)").AtDebug().WriteToLog()
conds.Add(matcher)
case "linear":
fallthrough
default:
matcher, err := NewDomainMatcher(rr.Domain)
if err != nil {