aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-20 21:59:55 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-09 18:34:14 +0100
commit0b7ef99a3957c2cd92c968efd97f2812eaf5c4db (patch)
treef1e4d9ca4c090319619a1fd6130f60f7f1406647
parentc244716f8bbdb67046dfb95e43cbaa94de7e192a (diff)
add DIUCS debug log constant
-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 d8b6f4021..fa40e9c7c 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -38,6 +38,7 @@ enum {
DSUA,
DV42BIS,
DVLR,
+ DIUCS,
Debug_LastEntry,
};
diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c
index c6db00638..82e8abc7e 100644
--- a/openbsc/src/libcommon/debug.c
+++ b/openbsc/src/libcommon/debug.c
@@ -179,6 +179,11 @@ static const struct log_info_cat default_categories[] = {
.description = "Visitor Location Register",
.enabled = 1, .loglevel = LOGL_DEBUG,
},
+ [DIUCS] = {
+ .name = "DIUCS",
+ .description = "Iu-CS Protocol",
+ .enabled = 1, .loglevel = LOGL_DEBUG,
+ },
};
static int filter_fn(const struct log_context *ctx, struct log_target *tar)