summaryrefslogtreecommitdiffstats
path: root/examples/qos_sched/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qos_sched/args.c')
-rw-r--r--examples/qos_sched/args.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qos_sched/args.c b/examples/qos_sched/args.c
index 476a0ee1..2350d64f 100644
--- a/examples/qos_sched/args.c
+++ b/examples/qos_sched/args.c
@@ -245,6 +245,7 @@ app_parse_flow_conf(const char *conf_str)
struct flow_conf *pconf;
uint64_t mask;
+ memset(vals, 0, sizeof(vals));
ret = app_parse_opt_vals(conf_str, ',', 6, vals);
if (ret < 4 || ret > 5)
return ret;