summaryrefslogtreecommitdiff
path: root/modules/turn/turn.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/turn/turn.c')
-rw-r--r--modules/turn/turn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/turn/turn.c b/modules/turn/turn.c
index 41588e6..85fe84b 100644
--- a/modules/turn/turn.c
+++ b/modules/turn/turn.c
@@ -279,7 +279,8 @@ static int update(struct mnat_sess *sess)
static int module_init(void)
{
- return mnat_register(&mnat, "turn", NULL, session_alloc, media_alloc,
+ return mnat_register(&mnat, baresip_mnatl(),
+ "turn", NULL, session_alloc, media_alloc,
update);
}