aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_utils.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-30 12:01:24 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-30 12:01:24 +0200
commit6b64b26d8b601f3f58ce151521d80c69cd4b217f (patch)
tree29d5f7528fd3f5d89afcf415b3935377bcb92f0d /openbsc/src/nat/bsc_nat_utils.c
parent22252a98e3a2c094edb9d179db8eddede517e339 (diff)
nat: Look at the assignment command and remember on which timeslot the data is
This information will be needed when we are trying to forward MGCP connections to and from the BSC through the IPA protocol.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r--openbsc/src/nat/bsc_nat_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c
index 08e9e8f8b..dc6cfec5c 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -79,6 +79,7 @@ void sccp_connection_destroy(struct sccp_connections *conn)
LOGP(DNAT, LOGL_DEBUG, "Destroy 0x%x <-> 0x%x mapping for con %p\n",
sccp_src_ref_to_int(&conn->real_ref),
sccp_src_ref_to_int(&conn->patched_ref), conn->bsc);
+ bsc_mgcp_clear(conn);
llist_del(&conn->list_entry);
talloc_free(conn);
}