fixeria submitted this change.
2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
xua_asp_send_xlm_prim(): use LOGPFSML() to print more context
The LOGPFSML() prints current state of an ASP FSM instance,
which is useful for debugging.
Change-Id: I28f3f89a8158bbedc224922a6ec151b1bbd6c7c0
---
M src/xua_asp_fsm.c
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c
index 8bb5b64..fadcde9 100644
--- a/src/xua_asp_fsm.c
+++ b/src/xua_asp_fsm.c
@@ -112,8 +112,8 @@
if (lm && lm->prim_cb)
lm->prim_cb(&prim->oph, asp);
else {
- LOGPASP(asp, DLSS7, LOGL_DEBUG, "No Layer Manager, dropping %s\n",
- osmo_xlm_prim_name(&prim->oph));
+ LOGPFSML(asp->fi, LOGL_DEBUG, "No Layer Manager, dropping %s\n",
+ osmo_xlm_prim_name(&prim->oph));
}
msgb_free(prim->oph.msg);
To view, visit change 36008. To unsubscribe, or for help writing mail filters, visit settings.