diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-12-18 18:27:43 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-12-19 18:58:51 +0100 |
commit | ea0c3203db95518c75258bf5c6bb350a3ffb56fc (patch) | |
tree | a67cdbb7c4faa862f1467ef98a28ddc78e63f2d0 /src/osmo-bsc/osmo_bsc_sigtran.c | |
parent | ca494f385e2f71475c7f4dd04383939729fed9d6 (diff) |
osmo-bsc: Move user plane/voice related bits into sub-structure
This clarifies which members of the struct are for what.
Change-Id: I618822e6f2d48adce25f9df5c25acbce7c858412
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_sigtran.c')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_sigtran.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c index 7669b67b7..67f870378 100644 --- a/src/osmo-bsc/osmo_bsc_sigtran.c +++ b/src/osmo-bsc/osmo_bsc_sigtran.c @@ -385,8 +385,8 @@ int osmo_bsc_sigtran_del_conn(struct osmo_bsc_sccp_con *conn) } /* Remove mgcp context if existant */ - if (conn->mgcp_ctx) - mgcp_free_ctx(conn->mgcp_ctx); + if (conn->user_plane.mgcp_ctx) + mgcp_free_ctx(conn->user_plane.mgcp_ctx); llist_del(&conn->entry); talloc_free(conn); |