Skip to content

Commit 2ba52c9

Browse files
committed
TEMP: REMOVE: add testing port range for shadowsocks
1 parent 786d9d8 commit 2ba52c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: mullvad-relay-selector/src/relay_selector/parsed_relays.rs

+8
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ impl ParsedRelays {
162162
parsed_list.wireguard.udp2tcp_ports.extend(UDP2TCP_PORTS);
163163
}
164164

165+
// FIXME: remove this
166+
if parsed_list.wireguard.shadowsocks_port_ranges.is_empty() {
167+
parsed_list
168+
.wireguard
169+
.shadowsocks_port_ranges
170+
.extend(&[(1024, 1024)]);
171+
}
172+
165173
// Add location and override relay data
166174
for country in &mut parsed_list.countries {
167175
for city in &mut country.cities {

0 commit comments

Comments
 (0)