diff options
author | Daniel Willmann <daniel@totalueberwachung.de> | 2011-07-19 12:14:34 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-19 20:07:20 +0200 |
commit | 1c33d4c00d780fccede8216a22c702c399c67f21 (patch) | |
tree | 67140277f8045ea2ab2ac9c25d07c16fa0a57dca /openbsc | |
parent | fc83a36cbd00ea06ec7053b5fbe628556cc3d9c1 (diff) |
libcommon: Add DCTRL logging destination for libctrl related messages
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/include/openbsc/debug.h | 1 | ||||
-rw-r--r-- | openbsc/src/libcommon/debug.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h index ff4aec1d5..d78252a93 100644 --- a/openbsc/include/openbsc/debug.h +++ b/openbsc/include/openbsc/debug.h @@ -35,6 +35,7 @@ enum { DLLC, DSNDCP, DNAT, + DCTRL, Debug_LastEntry, }; diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c index 1372150c8..479390c10 100644 --- a/openbsc/src/libcommon/debug.c +++ b/openbsc/src/libcommon/debug.c @@ -175,6 +175,11 @@ static const struct log_info_cat default_categories[] = { .description = "GSM 08.08 NAT/Multipkexer", .enabled = 1, .loglevel = LOGL_NOTICE, }, + [DCTRL] = { + .name = "DCTRL", + .description = "Control interface", + .enabled = 1, .loglevel = LOGL_NOTICE, + }, }; enum log_filter { |