nat: Register a debug region for the nat.

This commit is contained in:
Holger Hans Peter Freyther 2010-06-15 19:27:25 +08:00
parent 27d36de3b9
commit 3d73e0d235
2 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,7 @@ enum {
DBSSGP,
DLLC,
DSNDCP,
DNAT,
Debug_LastEntry,
};

View File

@ -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 {