dns: Fix DHCP reset

This commit is contained in:
世界
2026-05-17 15:06:53 +08:00
parent dc4ca85cbb
commit dcfdd8a184

View File

@@ -111,6 +111,7 @@ func (t *Transport) Close() error {
func (t *Transport) Reset() { func (t *Transport) Reset() {
t.transportLock.Lock() t.transportLock.Lock()
t.updatedAt = time.Time{} t.updatedAt = time.Time{}
t.lastError = nil
t.servers = nil t.servers = nil
t.transportLock.Unlock() t.transportLock.Unlock()
} }