summaryrefslogtreecommitdiff
path: root/source4/dns_server
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2013-01-14 00:55:37 +0100
committerAmitay Isaacs <amitay@gmail.com>2013-05-16 21:40:19 +1000
commit2e9cf99bcef81d5e0b25221956a79e5f2fee1bf0 (patch)
treef8349a7bf8df77aabc540c7d17832cd13bbf83b6 /source4/dns_server
parentf31bda67157c66bd9d7d108395610b514a54f28b (diff)
downloadsamba-2e9cf99bcef81d5e0b25221956a79e5f2fee1bf0.tar.gz
samba-2e9cf99bcef81d5e0b25221956a79e5f2fee1bf0.tar.bz2
samba-2e9cf99bcef81d5e0b25221956a79e5f2fee1bf0.zip
dns: Also add a print-out for the out_packet
Signed-off-by: Kai Blin <kai@samba.org> Reviewed-By: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'source4/dns_server')
-rw-r--r--source4/dns_server/dns_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/dns_server/dns_server.c b/source4/dns_server/dns_server.c
index 6e0285ffc4..70020f40e0 100644
--- a/source4/dns_server/dns_server.c
+++ b/source4/dns_server/dns_server.c
@@ -239,6 +239,10 @@ static WERROR dns_process_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
}
}
+ if (DEBUGLVL(8)) {
+ NDR_PRINT_DEBUG(dns_name_packet, &state->out_packet);
+ }
+
ndr_err = ndr_push_struct_blob(
out, mem_ctx, &state->out_packet,
(ndr_push_flags_fn_t)ndr_push_dns_name_packet);