summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/session/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index e6a50f4141d..529e01c6613 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1885,7 +1885,7 @@ session_stats_collector_fn (vlib_stats_collector_data_t *d)
static void
session_stats_collector_init (void)
{
- vlib_stats_collector_reg_t reg;
+ vlib_stats_collector_reg_t reg = {};
reg.entry_index =
vlib_stats_add_counter_vector ("/sys/session/sessions_per_worker");