[PATCH] openbsc[master]: add DHODEC debug category, tweak DHO name

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/OpenBSC@lists.osmocom.org/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Thu Jun 2 12:30:34 UTC 2016


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

add DHODEC debug category, tweak DHO name

Change-Id: If19caca84327ac0267a7e1f0efc84a614b154486
---
M openbsc/include/openbsc/debug.h
M openbsc/src/libcommon/debug.c
2 files changed, 9 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/86/186/1

diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index 189ca47..aaa1ad0 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -22,6 +22,7 @@
 	DMSC,
 	DMGCP,
 	DHO,
+	DHODEC,
 	DDB,
 	DREF,
 	DGPRS,
diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c
index 7fb3ecb..e9befb3 100644
--- a/openbsc/src/libcommon/debug.c
+++ b/openbsc/src/libcommon/debug.c
@@ -107,7 +107,14 @@
 	},
 	[DHO] = {
 		.name = "DHO",
-		.description = "Hand-Over",
+		.description = "Hand-Over Process",
+		.color = "\033[1;38m",
+		.enabled = 1, .loglevel = LOGL_NOTICE,
+	},
+	[DHODEC] = {
+		.name = "DHODEC",
+		.description = "Hand-Over Decision",
+		.color = "\033[1;38m",
 		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DDB] = {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If19caca84327ac0267a7e1f0efc84a614b154486
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Holger Freyther <holger at freyther.de>



More information about the OpenBSC mailing list