make rate_counters work

if we don't call rate_ctr_init(), the rate counter internal timer will
not tick,a nd we will never get the per-s/per-m/per-h averages.

Change-Id: Ib5b66c72079330ac161756bcf562d27536d7ce44
This commit is contained in:
Harald Welte 2022-01-30 13:44:33 +01:00 committed by laforge
parent e53eed98ea
commit 3fd3df13b5
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ int main(int argc, char *argv[])
vty_init(&vty_info);
logging_vty_add_cmds();
e1d_vty_init(e1d);
rate_ctr_init(e1d);
handle_options(argc, argv);