1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 09:36:34 -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
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

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 {