dev: fix counter_start in counter clear routine 92/40892/2
authorMonendra Singh Kushwaha <[email protected]>
Thu, 16 May 2024 06:54:37 +0000 (12:24 +0530)
committerDamjan Marion <[email protected]>
Mon, 10 Jun 2024 12:54:36 +0000 (12:54 +0000)
commitafd03ffff561b05ab5e9f4be8bfe5630283028ad
tree0acdece206d90df3beb7796d8bdcf562dd6e7624
parenta391de68acbeadeb16b640b54ec53eb468c25f9b
dev: fix counter_start in counter clear routine

This patch fixes counter_start value, as it should hold the cumulative
counter value whenever counter clear routine is called.

Type: fix
Fixes: 38c619115b

Change-Id: I50bf8ddcde419caf1170dfacdea03ff3d93a3327
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
src/vnet/dev/counters.c