From 07dfc702764d2a148ce6e6c8869f76f47170f072 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 27 Oct 2010 10:54:11 +0200 Subject: nat: Make clear where the RLSD is send to Add a _msc to the method as we will send a RLSD to the MSC and will add a method to send it down to the BSC as well. --- openbsc/src/nat/bsc_nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index daabf0976..57818992f 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -208,7 +208,7 @@ static void send_id_req(struct bsc_connection *bsc) bsc_send_data(bsc, id_req, sizeof(id_req), IPAC_PROTO_IPACCESS); } -static void nat_send_rlsd(struct sccp_connections *conn) +static void nat_send_rlsd_msc(struct sccp_connections *conn) { struct sccp_connection_released *rel; struct msgb *msg; @@ -709,7 +709,7 @@ void bsc_close_connection(struct bsc_connection *connection) if (ctr) rate_ctr_inc(ctr); if (sccp_patch->has_remote_ref && !sccp_patch->con_local) - nat_send_rlsd(sccp_patch); + nat_send_rlsd_msc(sccp_patch); sccp_connection_destroy(sccp_patch); } -- cgit v1.2.3