mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-05-19 00:18:19 +08:00
Fix: DNS server not recreate correctly (#186)
This commit is contained in:
parent
46e5342b79
commit
0a6f9b3878
@ -97,6 +97,7 @@ func ReCreateServer(addr string, resolver *Resolver) error {
|
|||||||
|
|
||||||
if server.Server != nil {
|
if server.Server != nil {
|
||||||
server.Shutdown()
|
server.Shutdown()
|
||||||
|
address = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
_, port, err := net.SplitHostPort(addr)
|
_, port, err := net.SplitHostPort(addr)
|
||||||
|
Loading…
Reference in New Issue
Block a user