Disable SNI when DNS forwarding enabled

This commit is contained in:
Max Lv
2018-04-01 10:14:58 +08:00
parent 26acea8efe
commit 4d2033330b
@@ -183,7 +183,9 @@ class VpnService : BaseVpnService(), LocalDnsService.Interface {
}
override fun buildAdditionalArguments(cmd: ArrayList<String>): ArrayList<String> {
val profile = data.profile!!
cmd += "-V"
if (profile.udpdns) cmd += "-D"
return cmd
}