fix: 规则匹配默认策略组返回错误
This commit is contained in:
parent
a7006f17e8
commit
052a65e00c
2 changed files with 2 additions and 3 deletions
|
@ -676,8 +676,7 @@ func benchmarkProxy(b *testing.B, proxy C.ProxyAdapter) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: fix test
|
func TestClash_Basic(t *testing.T) {
|
||||||
func _TestClash_Basic(t *testing.T) {
|
|
||||||
basic := `
|
basic := `
|
||||||
mixed-port: 10000
|
mixed-port: 10000
|
||||||
log-level: silent
|
log-level: silent
|
||||||
|
|
|
@ -433,5 +433,5 @@ func match(metadata *C.Metadata) (C.Proxy, C.Rule, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return proxies["REJECT"], nil, nil
|
return proxies["DIRECT"], nil, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue