From 62236530be4a19d8ed8caec297b8a018a83dee2f Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 20 May 2016 21:59:55 +0200 Subject: add DIUCS debug log constant Change-Id: Id347a3024fa495a1ab680db7320648d933a4018b --- openbsc/include/openbsc/debug.h | 1 + openbsc/src/libcommon/debug.c | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'openbsc') 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) -- cgit v1.2.3