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

@ -21,10 +21,6 @@ type Selector struct {
providers []provider.ProxyProvider
}
func (s *Selector) IsProxyGroup() bool {
return true
}
// DialContext implements C.ProxyAdapter
func (s *Selector) DialContext(ctx context.Context, metadata *C.Metadata, opts ...dialer.Option) (C.Conn, error) {
c, err := s.selectedProxy(true).DialContext(ctx, metadata, s.Base.DialOptions(opts...)...)