mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
optimize: refine logic
This commit is contained in:
1 parent
99f2cdcd96
commit
1633aa21d3
1 file changed
+1
-3
@@ -78,9 +78,7 @@ func ShouldDnsPoisonOpen() int {
|
||||
fakednsValid = false
|
||||
}
|
||||
if fakednsValid && !dnsPortValid() {
|
||||
if setting.EnhancedMode {
|
||||
log.Println("[fakedns] unable to use fakedns: port 53 is occupied")
|
||||
}
|
||||
log.Println("[fakedns] unable to use fakedns: port 53 is occupied")
|
||||
fakednsValid = false
|
||||
}
|
||||
if !fakednsValid {
|
||||
|
||||
Reference in new issue
Block a user