return NT_STATUS_OK;
}
-
- NDR_PRINT_DEBUG(dns_name_packet, in_packet);
+ if (DEBUGLVL(2)) {
+ NDR_PRINT_DEBUG(dns_name_packet, in_packet);
+ }
*out_packet = *in_packet;
out_packet->operation |= DNS_FLAG_REPLY;
out_packet->operation |= werr_to_dns_err(ret);
}
- NDR_PRINT_DEBUG(dns_name_packet, out_packet);
+ if (DEBUGLVL(2)) {
+ NDR_PRINT_DEBUG(dns_name_packet, out_packet);
+ }
ndr_err = ndr_push_struct_blob(out, out_packet, out_packet,
(ndr_push_flags_fn_t)ndr_push_dns_name_packet);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {