summaryrefslogtreecommitdiffstats
path: root/app/test/test_table_acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_table_acl.c')
-rw-r--r--app/test/test_table_acl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/test/test_table_acl.c b/app/test/test_table_acl.c
index b3bfda4c..a5d44c5b 100644
--- a/app/test/test_table_acl.c
+++ b/app/test/test_table_acl.c
@@ -532,6 +532,8 @@ setup_acl_pipeline(void)
struct rte_pipeline_table_entry *table_entries[5];
int key_found[5];
+ memset(table_entries, 0, sizeof(table_entries));
+
for (n = 0; n < 5; n++) {
memset(&keys[n], 0, sizeof(struct rte_table_acl_rule_delete_params));
key_array[n] = &keys[n];