mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
dns: Also print packet information for DBGC_DNS
Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sat May 18 12:48:15 CEST 2013 on sn-devel-104
This commit is contained in:
parent
0f5e9d29f6
commit
a3a3086a2a
@ -133,7 +133,7 @@ static struct tevent_req *dns_process_send(TALLOC_CTX *mem_ctx,
|
||||
tevent_req_werror(req, WERR_INVALID_PARAM);
|
||||
return tevent_req_post(req, ev);
|
||||
}
|
||||
dump_data(8, in->data, in->length);
|
||||
dump_data_dbgc(DBGC_DNS, 8, in->data, in->length);
|
||||
|
||||
ndr_err = ndr_pull_struct_blob(
|
||||
in, state, &state->in_packet,
|
||||
@ -144,8 +144,8 @@ static struct tevent_req *dns_process_send(TALLOC_CTX *mem_ctx,
|
||||
tevent_req_done(req);
|
||||
return tevent_req_post(req, ev);
|
||||
}
|
||||
if (DEBUGLVL(8)) {
|
||||
NDR_PRINT_DEBUG(dns_name_packet, &state->in_packet);
|
||||
if (DEBUGLVLC(DBGC_DNS, 8)) {
|
||||
NDR_PRINT_DEBUGC(DBGC_DNS, dns_name_packet, &state->in_packet);
|
||||
}
|
||||
|
||||
ret = dns_verify_tsig(dns, state, &state->state, &state->in_packet, in);
|
||||
@ -239,8 +239,8 @@ 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);
|
||||
if (DEBUGLVLC(DBGC_DNS, 8)) {
|
||||
NDR_PRINT_DEBUGC(DBGC_DNS, dns_name_packet, &state->out_packet);
|
||||
}
|
||||
|
||||
ndr_err = ndr_push_struct_blob(
|
||||
|
Loading…
Reference in New Issue
Block a user