pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-sigtran/+/40675?usp=email )
Change subject: xua_asp_fsm: Log rx ASPAC with unknown rctx
......................................................................
xua_asp_fsm: Log rx ASPAC with unknown rctx
This is useful to quickly spot misconfigurations when setting up 2 peers
to communicate.
Change-Id: Id00a8b970320f545b361357d162c26aa9db70209
---
M src/xua_asp_fsm.c
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/75/40675/1
diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c
index 70fb0b3..b7c6947 100644
--- a/src/xua_asp_fsm.c
+++ b/src/xua_asp_fsm.c
@@ -632,6 +632,9 @@
uint32_t rctx = osmo_load32be(&part->dat[i * sizeof(uint32_t)]);
as = osmo_ss7_as_find_by_rctx(asp->inst, rctx);
if (!as) {
+ LOGPFSML(fi, LOGL_NOTICE,
+ "ASPAC: Couldn't find any AS with rctx=%u. Check your config!\n",
+ rctx);
peer_send_error(fi, M3UA_ERR_INVAL_ROUT_CTX);
return;
}
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/40675?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Id00a8b970320f545b361357d162c26aa9db70209
Gerrit-Change-Number: 40675
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>