[PATCH] openbsc[master]: bsc_init: add logging for unhandled signals

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Fri Jun 30 15:27:51 UTC 2017


Review at  https://gerrit.osmocom.org/3091

bsc_init: add logging for unhandled signals

Change-Id: I0ddaec3b017d637027b0478ce3e137becbf25ea7
---
M openbsc/src/libbsc/bsc_init.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/91/3091/1

diff --git a/openbsc/src/libbsc/bsc_init.c b/openbsc/src/libbsc/bsc_init.c
index ead21b4..a382709 100644
--- a/openbsc/src/libbsc/bsc_init.c
+++ b/openbsc/src/libbsc/bsc_init.c
@@ -391,7 +391,7 @@
 		abis_nm_clear_queue(trx->bts);
 		break;
 	default:
-		break;
+		LOGP(DLMI, LOGL_ERROR, "Unhandled input signal %s\n", get_value_string(e1inp_signal_names, signal););
 	}
 
 	return 0;

-- 
To view, visit https://gerrit.osmocom.org/3091
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0ddaec3b017d637027b0478ce3e137becbf25ea7
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list