aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-29 05:49:06 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-29 05:49:06 +0100
commit5cf38ed1abc06f03f4401b0b5f97536da01efa8a (patch)
tree459bd6dab7b3a4d848ecf8ae5361ac517c01ebea
parent35d1531089e7cf61c5b156501bef2dc509d4628f (diff)
[nat] Add debug area for the NAT code
This is going to give a conflict when merging with master but it can be easily resolved by adding a new id then.
-rw-r--r--openbsc/include/openbsc/debug.h2
-rw-r--r--openbsc/src/debug.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index fc387cec3..1c2d75811 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -27,6 +27,8 @@
#define DHO 0x80000
+#define DNAT 0x100000
+
#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 6e99d4144..6e9213025 100644
--- a/openbsc/src/debug.c
+++ b/openbsc/src/debug.c
@@ -61,6 +61,7 @@ static const struct debug_info debug_info[] = {
DEBUG_CATEGORY(DMSC, "DMSC", "", "")
DEBUG_CATEGORY(DMGCP, "DMGCP", "", "")
DEBUG_CATEGORY(DHO, "DHO", "", "")
+ DEBUG_CATEGORY(DNAT, "DNAT", "", "")
};
static int use_color = 1;