Max has submitted this change and it was merged.
Change subject: OML: print actual type of report sent to BSC
......................................................................
OML: print actual type of report sent to BSC
We re-use the same facility to send different data so it's better to
print actual cause value to avoid confusion.
Change-Id: I9413ecf57eaa6fc661f1a57ccdaa2f04c50ea43b
---
M src/common/oml.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Neels Hofmeyr: Looks good to me, but someone else must approve
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/common/oml.c b/src/common/oml.c
index 20f45e5..69a2642 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -73,7 +73,7 @@
struct msgb *nmsg;
va_list ap;
- LOGP(DOML, LOGL_NOTICE, "Reporting FAILURE to BSC: ");
+ LOGP(DOML, LOGL_NOTICE, "Sending %s to BSC: ",
get_value_string(abis_mm_event_cause_names, cause_value));
va_start(ap, fmt);
osmo_vlogp(DOML, LOGL_NOTICE, __FILE__, __LINE__, 1, fmt, ap);
nmsg = abis_nm_fail_evt_vrep(NM_EVT_PROC_FAIL, NM_SEVER_CRITICAL,
--
To view, visit https://gerrit.osmocom.org/3829
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9413ecf57eaa6fc661f1a57ccdaa2f04c50ea43b
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <[email protected]>
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>