diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-22 22:57:42 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-22 22:57:42 +0100 |
commit | 5c2e458dca23027434d09f216570b110e643b448 (patch) | |
tree | 5d47cc405bf82b80c102bffb073c77e1534f9054 | |
parent | 1b47ce5b9bd143de886758e8cbd3d2c3a75f5153 (diff) |
debug: Add two categories to be used in the future.
-rw-r--r-- | include/cellmgr_debug.h | 2 | ||||
-rw-r--r-- | src/debug.c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/cellmgr_debug.h b/include/cellmgr_debug.h index c3edd8a..e5d7738 100644 --- a/include/cellmgr_debug.h +++ b/include/cellmgr_debug.h @@ -11,6 +11,8 @@ enum { DSCCP, DMGCP, DISUP, + DM2UA, + DPCAP, }; extern const struct log_info log_info; diff --git a/src/debug.c b/src/debug.c index 254715e..2dd1468 100644 --- a/src/debug.c +++ b/src/debug.c @@ -49,6 +49,16 @@ static const struct log_info_cat default_categories[] = { .description = "ISUP", .enabled = 1, .loglevel = LOGL_NOTICE, }, + [DM2UA] = { + .name = "DM2UA", + .description = "M2UA handling", + .enabled = 1, .loglevel = LOGL_NOTICE, + }, + [DPCAP] = { + .name = "DPCAP", + .description = "Dump traffic", + .enabled = 0, .loglevel = LOGL_NOTICE, + }, }; static int filter_fn(const struct log_context *ctx, |