mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-08-07 06:15:15 +03:00
dns: Fix DHCP reset
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user