dns: Also add a print-out for the out_packet
authorKai Blin <kai@samba.org>
Sun, 13 Jan 2013 23:55:37 +0000 (00:55 +0100)
committerKai Blin <kai@samba.org>
Sun, 13 Jan 2013 23:56:56 +0000 (00:56 +0100)
Signed-off-by: Kai Blin <kai@samba.org>
source4/dns_server/dns_server.c

index 29953c3..eecdd9b 100644 (file)
@@ -236,6 +236,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);