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)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 16 May 2013 11:40:19 +0000 (21:40 +1000)
Signed-off-by: Kai Blin <kai@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
source4/dns_server/dns_server.c

index 6e0285ffc417d6e74f75a182bd5d84c1f81302bf..70020f40e0bb476d2ed1170c2d0060ae38a7c106 100644 (file)
@@ -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);