mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
[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:
@@ -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)
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user