mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
output debug message when ACAutomatonDomainMatcher is enabled.
This commit is contained in:
parent
38b0f026fe
commit
e65f96fa6b
@ -73,8 +73,9 @@ func (rr *RoutingRule) BuildCondition() (Condition, error) {
|
||||
case "ac":
|
||||
matcher, err := NewACAutomatonDomainMatcher(rr.Domain)
|
||||
if err != nil {
|
||||
return nil, newError("failed to build domain condition").Base(err)
|
||||
return nil, newError("failed to build domain condition with ACAutomatonDomainMatcher").Base(err)
|
||||
}
|
||||
newError("ACAutomatonDomainMatcher is enabled for ", len(rr.Domain), "domain rules(s)").AtDebug().WriteToLog()
|
||||
conds.Add(matcher)
|
||||
default:
|
||||
matcher, err := NewDomainMatcher(rr.Domain)
|
||||
|
Loading…
x
Reference in New Issue
Block a user