Browse Source

Fix wireguard dial out

世界 3 years ago
parent
commit
77550a6c82
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/src/main/java/io/nekohasekai/sagernet/fmt/ConfigBuilder.kt

+ 3 - 0
app/src/main/java/io/nekohasekai/sagernet/fmt/ConfigBuilder.kt

@@ -803,6 +803,9 @@ fun buildV2RayConfig(
                                         }
                                     }
                                 }
+                                if (currentDomainStrategy == "AsIS") {
+                                    currentDomainStrategy = "UseIP"
+                                }
                             } else if (bean is SSHBean) {
                                 protocol = "ssh"
                                 settings = LazyOutboundConfigurationObject(this,