aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-10-29 14:13:10 +0100
committerHarald Welte <laforge@osmocom.org>2019-10-29 14:14:03 +0100
commitbe1210f6b4bc39b083d676c883edb813d5cc4e62 (patch)
tree640713e5cded55df6b223e2d32db99bd2be90684
parentd70d82bdf36838f7dc3a236fb777ee8575f191a5 (diff)
xua_asp_fsm: Don't send M3UA ERR and then send ASPAC_ACK
IF we cannot activate the ASP in response to an ASPAC, we should return just the error and not an error + ASPACK_ACK. Change-Id: I681021a13af9b91d8b2b849bd7149d6b1f783865
-rw-r--r--src/xua_asp_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c
index 890a6b5..9880d55 100644
--- a/src/xua_asp_fsm.c
+++ b/src/xua_asp_fsm.c
@@ -465,7 +465,7 @@ static void xua_asp_fsm_inactive(struct osmo_fsm_inst *fi, uint32_t event, void
rctx = osmo_load32be(&part->dat[i * sizeof(uint32_t)]);
if (!osmo_ss7_as_find_by_rctx(asp->inst, rctx)) {
peer_send_error(fi, M3UA_ERR_INVAL_ROUT_CTX);
- break;
+ return;
}
}
}