If using bridges, use meek if the network is IPv6-only.

This commit is contained in:
akwizgran
2020-11-03 13:52:12 +00:00
parent f6bdbb1b80
commit 02ee678bab

View File

@@ -918,7 +918,8 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
enableNetwork = true;
if (network == PREF_TOR_NETWORK_WITH_BRIDGES ||
(automatic && bridgesWork)) {
if (circumventionProvider.needsMeek(country)) {
if (ipv6Only ||
circumventionProvider.needsMeek(country)) {
LOG.info("Using meek bridges");
enableBridges = true;
useMeek = true;