Commit 8933732e authored by Max Lv's avatar Max Lv

bug fix

parent 062f4970
......@@ -126,6 +126,7 @@ class ShadowVpnService extends VpnService {
resolver.setTimeout(5)
lookup.setResolver(resolver)
val records = lookup.run()
if (records == null) return None
for (r <- records) {
addrType match {
case Type.A =>
......
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