dns: Fix DHCP reset

This commit is contained in:
世界
2026-05-17 15:06:53 +08:00
parent 2c2e08e608
commit d8ca4b1a67
+1
View File
@@ -111,6 +111,7 @@ func (t *Transport) Close() error {
func (t *Transport) Reset() {
t.transportLock.Lock()
t.updatedAt = time.Time{}
t.lastError = nil
t.servers = nil
t.transportLock.Unlock()
}