Revert: "fix: proxy-groups filter logic"

This reverts commit 8a85c63b08.
This commit is contained in:
adlyq
2022-04-22 18:55:28 +08:00
parent 8a85c63b08
commit de4341c8cd
17 changed files with 2 additions and 65 deletions

View File

@ -12,10 +12,6 @@ type Direct struct {
*Base
}
func (d *Direct) IsProxyGroup() bool {
return false
}
// DialContext implements C.ProxyAdapter
func (d *Direct) DialContext(ctx context.Context, metadata *C.Metadata, opts ...dialer.Option) (C.Conn, error) {
opts = append(opts, dialer.WithDirect())