summaryrefslogtreecommitdiff
path: root/src/baresip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/baresip.c')
-rw-r--r--src/baresip.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/baresip.c b/src/baresip.c
index cc4009a..3ef745e 100644
--- a/src/baresip.c
+++ b/src/baresip.c
@@ -18,6 +18,7 @@ static struct baresip {
struct commands commands;
struct player *player;
struct list mnatl;
+ struct list mencl;
} baresip;
@@ -31,6 +32,7 @@ int baresip_init(struct config *cfg, bool prefer_ipv6)
baresip.net = mem_deref(baresip.net);
list_init(&baresip.mnatl);
+ list_init(&baresip.mencl);
/* Initialise Network */
err = net_alloc(&baresip.net, &cfg->net,
@@ -94,3 +96,9 @@ struct list *baresip_mnatl(void)
{
return &baresip.mnatl;
}
+
+
+struct list *baresip_mencl(void)
+{
+ return &baresip.mencl;
+}