aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-15 01:04:42 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-15 01:04:42 +0800
commit60fa0efcc87d3575b2ab8950c177c1633dafc675 (patch)
tree978a2545f78a3110daec56b469f15a0e01e6284c /openbsc/src/nat
parent3dfcd4636a8b32d66c985f55404847799c30f38d (diff)
[sccp] Make it optional to send data on a SCCP Connection Refuse
This can be used to send a Location Updating Reject down to the BSC when it is clear that a subscriber is not allowed.
Diffstat (limited to 'openbsc/src/nat')
-rw-r--r--openbsc/src/nat/bsc_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index 9a88744f7..a6769805d 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -677,7 +677,7 @@ exit2:
exit3:
/* send a SCCP Connection Refused */
- refuse = sccp_create_refuse(parsed->src_local_ref, SCCP_REFUSAL_SCCP_FAILURE);
+ refuse = sccp_create_refuse(parsed->src_local_ref, SCCP_REFUSAL_SCCP_FAILURE, NULL, 0);
if (refuse) {
bsc_send_data(bsc, refuse->l2h, msgb_l2len(refuse), IPAC_PROTO_SCCP);
msgb_free(refuse);