You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mullvad-relay-selector/src/relay_selector/mod.rs
+2-6
Original file line number
Diff line number
Diff line change
@@ -619,7 +619,7 @@ impl RelaySelector {
619
619
/// - `custom_lists`: User-defined or application-specific settings that may influence bridge selection.
620
620
///
621
621
/// # Returns
622
-
/// * On success, returns an `Option` containing the selected bridge, if one is found. Returns `None` if no suitable bridge meets the criteria.
622
+
/// * On success, returns an `Option` containing the selected bridge, if one is found. Returns `None` if no suitable bridge meets the criteria or bridges should not be used.
623
623
/// * `Error::NoBridge` if attempting to use OpenVPN bridges over UDP, as this is unsupported.
624
624
/// * `Error::NoRelay` if `relay` does not have a location set.
625
625
fnget_openvpn_bridge(
@@ -804,11 +804,7 @@ impl RelaySelector {
804
804
parsed_relays:&ParsedRelays,
805
805
) -> Option<Relay>{
806
806
// Filter among all valid relays
807
-
let relays = Self::get_tunnel_endpoints(
808
-
query,
809
-
config,
810
-
parsed_relays,
811
-
);
807
+
let relays = Self::get_tunnel_endpoints(query, config, parsed_relays);
0 commit comments