mirror of
https://github.com/soypat/lneto.git
synced 2026-08-19 22:24:03 +00:00
reproduce dns bug in test
This commit is contained in:
@@ -153,6 +153,9 @@ func (s *StackAsync) Reset(cfg StackConfig) error {
|
||||
}
|
||||
s.totalrecv = 0
|
||||
s.totalsent = 0
|
||||
if cfg.DNSServer.IsValid() {
|
||||
s.dnssv = cfg.DNSServer
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user