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.
This commit is contained in:
Holger Hans Peter Freyther 2010-10-27 10:54:11 +02:00
parent 90bbccfca9
commit 07dfc70276
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}