1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-06 09:15:37 -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

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)