Skip to content

Commit

Permalink
tracer-packet-stats reporting should not reset id (backport #27012) (#…
Browse files Browse the repository at this point in the history
…27038)

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

(cherry picked from commit b6d38aa)

Co-authored-by: apfitzge <[email protected]>
  • Loading branch information
mergify[bot] and apfitzge authored Aug 9, 2022
1 parent 4f7d73f commit 0eccc1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/tracer_packet_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ impl TracerPacketStats {
)
);

*self = Self::default();
let id = self.id;
*self = Self::new(id);
self.last_report = timestamp();
}
}
Expand Down

0 comments on commit 0eccc1c

Please sign in to comment.