diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-27 10:54:11 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-27 10:54:11 +0200 |
commit | 07dfc702764d2a148ce6e6c8869f76f47170f072 (patch) | |
tree | 6a6457da2d30a0151c3d5f4b673fcade63f99d8e /openbsc/src/nat | |
parent | 90bbccfca9f00094e89dd35b42052e80a8318404 (diff) |
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.
Diffstat (limited to 'openbsc/src/nat')
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 4 |
1 files 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); } |