dns: Use new DNS debugclass in DNS server master
authorKai Blin <kai@samba.org>
Mon, 14 Jan 2013 00:14:29 +0000 (01:14 +0100)
committerKai Blin <kai@samba.org>
Mon, 14 Jan 2013 00:14:29 +0000 (01:14 +0100)
Signed-off-by: Kai Blin <kai@samba.org>
source4/dns_server/dns_crypto.c
source4/dns_server/dns_query.c
source4/dns_server/dns_server.c
source4/dns_server/dns_update.c
source4/dns_server/dns_utils.c

index 7604a05..aba906d 100644 (file)
@@ -29,6 +29,9 @@
 #include "auth/auth.h"
 #include "auth/gensec/gensec.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
 static WERROR dns_copy_tsig(TALLOC_CTX *mem_ctx,
                            struct dns_res_rec *old,
                            struct dns_res_rec *new_rec)
index 75f0e9f..4ad14b9 100644 (file)
@@ -37,6 +37,9 @@
 #include "auth/credentials/credentials.h"
 #include "auth/gensec/gensec.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
 static WERROR create_response_rr(const struct dns_name_question *question,
                                 const struct dnsp_DnssrvRpcRecord *rec,
                                 struct dns_res_rec **answers, uint16_t *ancount)
index eecdd9b..70020f4 100644 (file)
@@ -46,6 +46,9 @@
 #include "auth/auth.h"
 #include "auth/credentials/credentials.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
 NTSTATUS server_service_dns_init(void);
 
 /* hold information about one dns socket */
index 8be3564..9edc40b 100644 (file)
@@ -33,6 +33,9 @@
 #include "dns_server/dns_server.h"
 #include "auth/auth.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
 static WERROR dns_rr_to_dnsp(TALLOC_CTX *mem_ctx,
                             const struct dns_res_rec *rrec,
                             struct dnsp_DnssrvRpcRecord *r);
index 3988393..e03a409 100644 (file)
@@ -30,6 +30,9 @@
 #include "dsdb/common/util.h"
 #include "dns_server/dns_server.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
 uint8_t werr_to_dns_err(WERROR werr)
 {
        if (W_ERROR_EQUAL(WERR_OK, werr)) {