[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.
This commit is contained in:
Holger Hans Peter Freyther
2010-01-29 05:49:06 +01:00
parent 35d1531089
commit 5cf38ed1ab
2 changed files with 3 additions and 0 deletions

View File

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

View File

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