diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 18:52:12 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 20:24:19 +0800 |
commit | e6dfb18a79a80d700d0c5aaa1a65d0fb727e3167 (patch) | |
tree | b706b79163d02661adabd234111ed0ad1e6e3577 /openbsc | |
parent | f1012a432c6ec3a54ba3af2c33e4ecbc06aab447 (diff) |
[sccp/nat] 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')
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index f21fe0240..797cc2cab 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); |