diff --git a/cmd/discosrv/stats.go b/cmd/discosrv/stats.go index 1a014091..8a2ed982 100644 --- a/cmd/discosrv/stats.go +++ b/cmd/discosrv/stats.go @@ -49,7 +49,7 @@ func (s *stats) Error() { func (s *stats) Reset() stats { s.mut.Lock() ns := *s - s.announces, s.queries, s.answers = 0, 0, 0 + s.announces, s.queries, s.answers, s.errors = 0, 0, 0, 0 s.reset = time.Now() s.mut.Unlock() return ns