summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-04-03 22:20:49 +0200
committerHarald Welte <laforge@gnumonks.org>2017-04-03 22:20:49 +0200
commit059c40476ca7c425736825d2a479d1a4b64ce603 (patch)
tree77f2c34049e12fe95aa3ffc906acce62140fb5d1
parent62d3296c145e88c9788274bbbf7b15bfe10b9ffd (diff)
logging: Add log_info_cat for DLSS7/DLSCCP/DLSUA/DLM3UA
In Change-Id I61f452208088dc7097165deecef7c058ebb4bd4e we introduced the #defines but didn't introduce the new log_info_cat information. Change-Id: I218aa4cb1fc7640a75663be29bac672dfa8770f5
-rw-r--r--src/logging.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/logging.c b/src/logging.c
index d900340b..05d6b6d0 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -140,6 +140,26 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = {
.description = "Osmocom Authentication Protocol",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
+ [INT2IDX(DLSS7)] = {
+ .name = "DLSS7",
+ .description = "libosmo-sigtran Signalling System 7",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
+ [INT2IDX(DLSCCP)] = {
+ .name = "DLSCCP",
+ .description = "libosmo-sigtran SCCP Implementation",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
+ [INT2IDX(DLSUA)] = {
+ .name = "DLSUA",
+ .description = "libosmo-sigtran SCCP User Adaptation",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
+ [INT2IDX(DLM3UA)] = {
+ .name = "DLM3UA",
+ .description = "libosmo-sigtran MTP3 User Adaptation",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
};
/*! \brief descriptive string for each log level */