From ed0a47b9c5569a8b13566d2dd77da223d456277f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 1 Aug 2009 16:54:45 +0200 Subject: [PATCH] [debug] Add a debug area for SCCP --- openbsc/include/openbsc/debug.h | 2 ++ openbsc/src/debug.c | 1 + 2 files changed, 3 insertions(+) diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h index 6ac3a5409..24f45add7 100644 --- a/openbsc/include/openbsc/debug.h +++ b/openbsc/include/openbsc/debug.h @@ -20,6 +20,8 @@ #define DMUX 0x4000 #define DINP 0x8000 +#define DSCCP 0x10000 + #ifdef DEBUG #define DEBUGP(ss, fmt, args...) debugp(ss, __FILE__, __LINE__, 0, fmt, ## args) #define DEBUGPC(ss, fmt, args...) debugp(ss, __FILE__, __LINE__, 1, fmt, ## args) diff --git a/openbsc/src/debug.c b/openbsc/src/debug.c index fa903af98..14d6b603e 100644 --- a/openbsc/src/debug.c +++ b/openbsc/src/debug.c @@ -57,6 +57,7 @@ static const struct debug_info debug_info[] = { DEBUG_CATEGORY(DMIB, "DMIB", "", "") DEBUG_CATEGORY(DMUX, "DMUX", "", "") DEBUG_CATEGORY(DMEAS, "DMEAS", "", "") + DEBUG_CATEGORY(DSCCP, "DSCCP", "", "") }; static int use_color = 1;