mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 09:09:59 -04:00
Have -d print out the message
This commit is contained in:
parent
450fab92b1
commit
b736d86697
1 changed files with 5 additions and 0 deletions
|
|
@ -80,6 +80,11 @@ print_message(dns_message_t *message) {
|
|||
}
|
||||
} while (result == ISC_R_NOSPACE);
|
||||
|
||||
if (debug) {
|
||||
fprintf(stderr, "%.*s\n", (int)isc_buffer_usedlength(&buffer),
|
||||
output);
|
||||
}
|
||||
|
||||
return (result);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue