mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-19 16:50:56 +00:00
Fix: DNS server not recreate correctly (#186)
This commit is contained in:
parent
46e5342b79
commit
0a6f9b3878
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ func ReCreateServer(addr string, resolver *Resolver) error {
|
|||
|
||||
if server.Server != nil {
|
||||
server.Shutdown()
|
||||
address = ""
|
||||
}
|
||||
|
||||
_, port, err := net.SplitHostPort(addr)
|
||||
|
|
Loading…
Add table
Reference in a new issue