aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 19:27:25 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:21 +0800
commit3d73e0d235f2d6ccb401f7d21baa42a90230111c (patch)
tree6beb3197d9f94f72e569f4d7b81e30140d752023 /openbsc
parent27d36de3b9b12dbd725b6e17d8e558ce5f9ed8c5 (diff)
nat: Register a debug region for the nat.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/include/openbsc/debug.h1
-rw-r--r--openbsc/src/debug.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index 203aedb83..eb290e416 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -34,6 +34,7 @@ enum {
DBSSGP,
DLLC,
DSNDCP,
+ DNAT,
Debug_LastEntry,
};
diff --git a/openbsc/src/debug.c b/openbsc/src/debug.c
index 512935a20..c701f5040 100644
--- a/openbsc/src/debug.c
+++ b/openbsc/src/debug.c
@@ -171,6 +171,11 @@ static const struct log_info_cat default_categories[] = {
.description = "GPRS Sub-Network Dependent Control Protocol (SNDCP)",
.enabled = 1, .loglevel = LOGL_DEBUG,
},
+ [DNAT] = {
+ .name = "DNAT",
+ .description = "GSM 08.08 NAT/Multipkexer",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
};
enum log_filter {