aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-e1d.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-01-30 13:44:33 +0100
committerlaforge <laforge@osmocom.org>2022-01-31 14:49:26 +0000
commit3fd3df13b5c913c3fd9d9a9622cbdaa4f6bea9bb (patch)
tree3d531a918fe365242d725626d3cc6fef852d46d4 /src/osmo-e1d.c
parente53eed98eaa41008042aa6cc06aec53bb97b0f04 (diff)
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
Diffstat (limited to 'src/osmo-e1d.c')
-rw-r--r--src/osmo-e1d.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-e1d.c b/src/osmo-e1d.c
index 3ac9642..91bf78d 100644
--- a/src/osmo-e1d.c
+++ b/src/osmo-e1d.c
@@ -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);