summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util/debug.c1
-rw-r--r--lib/util/debug.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 6207b610c8..34aa76fb5c 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -177,6 +177,7 @@ static const char *default_classname_table[] = {
"dmapi", /* DBGC_DMAPI */
"registry", /* DBGC_REGISTRY */
"scavenger", /* DBGC_SCAVENGER */
+ "dns", /* DBGC_DNS */
NULL
};
diff --git a/lib/util/debug.h b/lib/util/debug.h
index c61fd13165..feea0a8d94 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -80,9 +80,10 @@ bool dbghdr( int level, const char *location, const char *func);
#define DBGC_DMAPI 18
#define DBGC_REGISTRY 19
#define DBGC_SCAVENGER 20
+#define DBGC_DNS 21
/* Always ensure this is updated when new fixed classes area added, to ensure the array in debug.c is the right size */
-#define DBGC_MAX_FIXED 20
+#define DBGC_MAX_FIXED 21
/* So you can define DBGC_CLASS before including debug.h */
#ifndef DBGC_CLASS