summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Simonart <simonartxavier@gmail.com>2021-04-20 16:24:41 +0200
committerXavier Simonart <simonartxavier@gmail.com>2021-04-20 16:24:41 +0200
commit26f32dd0e298e5a60b7d8fb154e0da571e033f21 (patch)
tree7770dc924869ae3b4b985baed81573331f69190c
parent873d9e8b9169461694343a913c22c7de4ab5e912 (diff)
Fix reorder count after reset
Signed-off-by: Xavier Simonart <simonartxavier@gmail.com> Change-Id: I93bc98069bf60d8b727fd877bf89087c57ad2dd9
-rw-r--r--VNFs/DPPD-PROX/handle_lat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/handle_lat.c b/VNFs/DPPD-PROX/handle_lat.c
index 0c0e7b59..99740c11 100644
--- a/VNFs/DPPD-PROX/handle_lat.c
+++ b/VNFs/DPPD-PROX/handle_lat.c
@@ -400,6 +400,7 @@ static void lat_stop(struct task_base *tbase)
if (task->unique_id_pos) {
task_lat_count_remaining_lost_packets(task);
task_lat_reset_eld(task);
+ memset(task->previous_packet, 0, sizeof(task->previous_packet) * task->generator_count);
}
if (task->latency_buffer)
lat_write_latency_to_file(task);