mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
priority rendering
This commit is contained in:
@@ -157,24 +157,19 @@ main(int argc, char *argv[]) {
|
||||
result = dns_message_renderbegin(message, &source);
|
||||
CHECKRESULT(result, "dns_message_renderbegin() failed");
|
||||
|
||||
result = dns_message_rendersection(message, DNS_SECTION_QUESTION,
|
||||
0, 0);
|
||||
result = dns_message_rendersection(message, DNS_SECTION_QUESTION, 0);
|
||||
CHECKRESULT(result, "dns_message_rendersection(QUESTION) failed");
|
||||
|
||||
result = dns_message_rendersection(message, DNS_SECTION_ANSWER,
|
||||
0, 0);
|
||||
result = dns_message_rendersection(message, DNS_SECTION_ANSWER, 0);
|
||||
CHECKRESULT(result, "dns_message_rendersection(ANSWER) failed");
|
||||
|
||||
result = dns_message_rendersection(message, DNS_SECTION_AUTHORITY,
|
||||
0, 0);
|
||||
result = dns_message_rendersection(message, DNS_SECTION_AUTHORITY, 0);
|
||||
CHECKRESULT(result, "dns_message_rendersection(AUTHORITY) failed");
|
||||
|
||||
result = dns_message_rendersection(message, DNS_SECTION_ADDITIONAL,
|
||||
0, 0);
|
||||
result = dns_message_rendersection(message, DNS_SECTION_ADDITIONAL, 0);
|
||||
CHECKRESULT(result, "dns_message_rendersection(ADDITIONAL) failed");
|
||||
|
||||
result = dns_message_rendersection(message, DNS_SECTION_TSIG,
|
||||
0, 0);
|
||||
result = dns_message_rendersection(message, DNS_SECTION_TSIG, 0);
|
||||
CHECKRESULT(result, "dns_message_rendersection(TSIG) failed");
|
||||
|
||||
dns_message_renderend(message);
|
||||
|
Reference in New Issue
Block a user