diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-05-25 10:19:00 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-25 10:24:13 +0200 |
commit | dfa3bb8a10e9fd12e583f9e996679836793a55bd (patch) | |
tree | be265c053fa2dbb3dde2ea70d95d0a13bd4a6078 /src/common/main.c | |
parent | b8265c63cc7d0b7060860d42dfc348423102d9c5 (diff) |
Add severity to OML FAILURE EVENT REPORT
Example: The fact that the PCU has connected with a given version is not
a *failure* in the first place, particularly not a MAJOR one. Let's
allow callers of oml_tx_failure_event_rep() specify the serverity of the
event that they're reporting to the BSC.
Change-Id: I49af04212568892648e0e8704ba1cc6de8c8ae89
Diffstat (limited to 'src/common/main.c')
-rw-r--r-- | src/common/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/main.c b/src/common/main.c index 0d84c183..25ecd11e 100644 --- a/src/common/main.c +++ b/src/common/main.c @@ -184,7 +184,7 @@ static void signal_handler(int signal) case SIGTERM: if (!quit) { oml_tx_failure_event_rep(&bts->mo, - OSMO_EVT_CRIT_PROC_STOP, + NM_SEVER_CRITICAL, OSMO_EVT_CRIT_PROC_STOP, "BTS: SIGINT received -> shutdown"); bts_shutdown(bts, "SIGINT"); } |