1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-21 16:56:27 -05:00

rename config for NewACAutomatonDomainMatcher to hybrid

This commit is contained in:
Shelikhoo 2021-03-05 18:36:36 +00:00
parent 9103f05e5c
commit 0043dd6685
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -70,7 +70,7 @@ func (rr *RoutingRule) BuildCondition() (Condition, error) {
if len(rr.Domain) > 0 {
switch rr.DomainMatcher {
case "ac":
case "hybrid":
matcher, err := NewACAutomatonDomainMatcher(rr.Domain)
if err != nil {
return nil, newError("failed to build domain condition with ACAutomatonDomainMatcher").Base(err)