summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/osmo-ganc/ganc_server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/osmo-ganc/ganc_server.c b/openbsc/src/osmo-ganc/ganc_server.c
index 4ecd8f1..0ba47f2 100644
--- a/openbsc/src/osmo-ganc/ganc_server.c
+++ b/openbsc/src/osmo-ganc/ganc_server.c
@@ -470,6 +470,11 @@ static void unc_accept_cb(struct osmo_conn *conn)
peer->bts = g_ganc_bts;
peer->conn = conn;
conn->priv = peer;
+
+ peer->sccp_con = NULL;
+
+ /* TODO: remove from list when closed */
+ llist_add_tail(&peer->entry, &g_ganc_bts->net->peers);
}