summaryrefslogtreecommitdiffstats
path: root/src/vlib/stats/collector.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/stats/collector.c')
-rw-r--r--src/vlib/stats/collector.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vlib/stats/collector.c b/src/vlib/stats/collector.c
index c27d2fc65d8..53fbfa01a22 100644
--- a/src/vlib/stats/collector.c
+++ b/src/vlib/stats/collector.c
@@ -169,6 +169,8 @@ stat_segment_collector_process (vlib_main_t *vm, vlib_node_runtime_t *rt,
}
}
+ sm->directory_vector[STAT_COUNTER_BOOTTIME].value = unix_time_now ();
+
while (1)
{
do_stat_segment_updates (vm, sm);