2
0
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:
Michael Graff
1999-12-22 03:22:59 +00:00
parent 491319c34c
commit 733b16eb0b
12 changed files with 153 additions and 115 deletions

View File

@@ -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);