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.
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index daabf09..5781899 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -208,7 +208,7 @@
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 @@
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);
}