aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_sccp.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-30 10:45:48 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:09 +0800
commit23fe7be1ca7b2b057ebaf3563cfed56a3056f9e6 (patch)
treecde7c9e6df1bc7852d3da550296e9fa9dbae338f /openbsc/src/nat/bsc_sccp.c
parent49c7fb52f00816522a17abab9a5e7e277b1717f2 (diff)
sccp: Move the destruction of the sccp connection to a new place
Diffstat (limited to 'openbsc/src/nat/bsc_sccp.c')
-rw-r--r--openbsc/src/nat/bsc_sccp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/openbsc/src/nat/bsc_sccp.c b/openbsc/src/nat/bsc_sccp.c
index 5f0809d77..40676b37c 100644
--- a/openbsc/src/nat/bsc_sccp.c
+++ b/openbsc/src/nat/bsc_sccp.c
@@ -135,11 +135,7 @@ void remove_sccp_src_ref(struct bsc_connection *bsc, struct msgb *msg, struct bs
if (bsc != conn->bsc)
continue;
- 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), bsc);
- llist_del(&conn->list_entry);
- talloc_free(conn);
+ sccp_connection_destroy(conn);
return;
}
}