mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 19:41:04 -05:00
dns_message_create() API update
This commit is contained in:
parent
a4520e13fb
commit
7e1f467287
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ dump_packet(isc_mem_t *mctx, unsigned char *buf, u_int len)
|
|||
isc_buffer_init(&source, buf, len, ISC_BUFFERTYPE_BINARY);
|
||||
isc_buffer_add(&source, len);
|
||||
|
||||
result = dns_message_create(mctx, &message, DNS_MESSAGE_INTENT_PARSE);
|
||||
result = dns_message_create(mctx, DNS_MESSAGE_INTENT_PARSE, &message);
|
||||
CHECKRESULT(result, "dns_message_create failed");
|
||||
|
||||
result = dns_message_parse(message, &source);
|
||||
|
|
|
|||
Loading…
Reference in a new issue