diff --git a/test/clash_test.go b/test/clash_test.go index a88c6dc7..9712e817 100644 --- a/test/clash_test.go +++ b/test/clash_test.go @@ -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 := ` mixed-port: 10000 log-level: silent diff --git a/tunnel/tunnel.go b/tunnel/tunnel.go index 1b7e7514..936b2b48 100644 --- a/tunnel/tunnel.go +++ b/tunnel/tunnel.go @@ -433,5 +433,5 @@ func match(metadata *C.Metadata) (C.Proxy, C.Rule, error) { } } - return proxies["REJECT"], nil, nil + return proxies["DIRECT"], nil, nil }