tracer-packet-stats reporting should not reset id (#27012)

This commit is contained in:
apfitzge 2022-08-09 06:38:08 -07:00 committed by GitHub
parent ad3e10f3bd
commit b6d38aad69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -199,7 +199,8 @@ impl TracerPacketStats {
)
);
*self = Self::default();
let id = self.id;
*self = Self::new(id);
self.last_report = timestamp();
}
}