diff mbox

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

Message ID 1461328898-8298-1-git-send-email-sergey.kostanbaev@gmail.com
State Not Applicable
Headers show

Commit Message

Sergey Kostanbaev April 22, 2016, 12:41 p.m. UTC
---
 openbsc/include/openbsc/debug.h | 1 +
 openbsc/src/libcommon/debug.c   | 6 ++++++
 2 files changed, 7 insertions(+)
diff mbox

Patch

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 {