summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Kluchnikov <kluchnikovi@gmail.com>2015-08-10 13:37:16 +0300
committerIvan Kluchnikov <kluchnikovi@gmail.com>2015-10-24 12:26:15 +0300
commit6ad575f359fa86178e3f703fe40e8c648565d200 (patch)
tree90b3181adc9c1887f1e7bac882600f4a080345e4
parente85e7910d22374ba33a347839aa17289f4b9a077 (diff)
debug: Add DSUP debug category for subscriber update protocol
-rw-r--r--openbsc/include/openbsc/debug.h1
-rw-r--r--openbsc/src/libcommon/debug.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index 19d8fc2..e674dd6 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -33,6 +33,7 @@ enum {
DCTRL,
DSMPP,
DFILTER,
+ DSUP,
Debug_LastEntry,
};
diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c
index 7fb3ecb..f285c1a 100644
--- a/openbsc/src/libcommon/debug.c
+++ b/openbsc/src/libcommon/debug.c
@@ -160,6 +160,11 @@ static const struct log_info_cat default_categories[] = {
.description = "SMPP interface for external SMS apps",
.enabled = 1, .loglevel = LOGL_DEBUG,
},
+ [DSUP] = {
+ .name = "DSUP",
+ .description = "SUP interface for external HLR",
+ .enabled = 1, .loglevel = LOGL_DEBUG,
+ },
[DFILTER] = {
.name = "DFILTER",
.description = "BSC/NAT IMSI based filtering",