mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
Fix: DNS server not recreate correctly (#186)
This commit is contained in:
parent
a4b8e286db
commit
89168e6c96
|
@ -97,6 +97,7 @@ func ReCreateServer(addr string, resolver *Resolver) error {
|
|||
|
||||
if server.Server != nil {
|
||||
server.Shutdown()
|
||||
address = ""
|
||||
}
|
||||
|
||||
_, port, err := net.SplitHostPort(addr)
|
||||
|
|
Loading…
Reference in New Issue
Block a user