fix(config): STREAM_ONLY should set StreamOnly flag for server selection (#2126)

This commit is contained in:
Anton Nesterov
2024-03-18 15:01:00 +00:00
committed by GitHub
parent e201856667
commit 84d00b42f1

View File

@@ -55,14 +55,14 @@ func (s *Source) readServerSelection(vpnProvider, vpnType string) (
return ss, err
}
// VPNUnlimited only
// Surfshark only
ss.MultiHopOnly, err = s.env.BoolPtr("MULTIHOP_ONLY")
if err != nil {
return ss, err
}
// VPNUnlimited only
ss.MultiHopOnly, err = s.env.BoolPtr("STREAM_ONLY")
ss.StreamOnly, err = s.env.BoolPtr("STREAM_ONLY")
if err != nil {
return ss, err
}