Commit 4d203333 authored by Max Lv's avatar Max Lv

Disable SNI when DNS forwarding enabled

parent 26acea8e
......@@ -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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment