libcommon: Add DCTRL logging destination for libctrl related messages

This commit is contained in:
Daniel Willmann
2011-07-19 12:14:34 +02:00
committed by Holger Hans Peter Freyther
parent fc83a36cbd
commit 1c33d4c00d
2 changed files with 6 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ enum {
DLLC,
DSNDCP,
DNAT,
DCTRL,
Debug_LastEntry,
};

View File

@@ -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 {