pespin has uploaded this change for review.

View Change

xua_default_lm_fsm.c: Log rx ASP_UP timeout with NOTICE level

Some user run into this scenario recently and it was difficult to find
out why the SCTP links were being restarted. Add a new log line with
NOTICE level explicitly stating the reason to restart the ASP.

Related: SYS#6511
Change-Id: I5a388d2d96bcf1cbb76981c476abf37dbe213df0
---
M src/xua_default_lm_fsm.c
1 file changed, 15 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/21/33621/1
diff --git a/src/xua_default_lm_fsm.c b/src/xua_default_lm_fsm.c
index e5cceea..15958f2 100644
--- a/src/xua_default_lm_fsm.c
+++ b/src/xua_default_lm_fsm.c
@@ -167,6 +167,7 @@
case T_WAIT_ASP_UP:
/* we have been waiting for the ASP to come up, but it
* failed to do so */
+ LOGPFSML(fi, LOGL_NOTICE, "Peer didn't send any ASP_UP in time! restarting ASP\n");
restart_asp(fi);
break;
case T_WAIT_NOTIFY:

To view, visit change 33621. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I5a388d2d96bcf1cbb76981c476abf37dbe213df0
Gerrit-Change-Number: 33621
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-MessageType: newchange