summaryrefslogtreecommitdiff
path: root/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stream.c b/src/stream.c
index e9cf871..07f51bd 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -310,6 +310,9 @@ int stream_alloc(struct stream **sp, const struct config_avt *cfg,
s->pt_enc = -1;
+ metric_init(&s->metric_tx);
+ metric_init(&s->metric_rx);
+
list_append(call_streaml(call), &s->le, s);
out: