[PATCH 1/9] debug: Add DSS category for supplementary service

Sergey Kostanbaev sergey.kostanbaev at gmail.com
Fri Apr 22 12:41:30 UTC 2016


---
 openbsc/include/openbsc/debug.h | 1 +
 openbsc/src/libcommon/debug.c   | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index 189ca47..6048a5c 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -34,6 +34,7 @@ enum {
 	DSMPP,
 	DFILTER,
 	DGTPHUB,
+	DSS,
 	Debug_LastEntry,
 };
 
diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c
index 7fb3ecb..6536944 100644
--- a/openbsc/src/libcommon/debug.c
+++ b/openbsc/src/libcommon/debug.c
@@ -165,6 +165,12 @@ static const struct log_info_cat default_categories[] = {
 		.description = "BSC/NAT IMSI based filtering",
 		.enabled = 1, .loglevel = LOGL_DEBUG,
 	},
+	[DSS] = {
+		.name = "DSS",
+		.description = "Layer3 Supplementary Service (SS)",
+		.color = "\033[0;33m",
+		.enabled = 1, .loglevel = LOGL_DEBUG,
+	},
 };
 
 enum log_filter {
-- 
1.9.1



More information about the OpenBSC mailing list