mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 16:20:00 -04:00
Set length in dns_rdata_in_dhcid structure
tostruct_in_dhcid was not setting the length field in the
dns_rdata_in_dhcid structure.
(cherry picked from commit cfa21d1e8b)
This commit is contained in:
parent
fc29c6a9d7
commit
9ffcac3726
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ tostruct_in_dhcid(ARGS_TOSTRUCT) {
|
|||
if (dhcid->dhcid == NULL) {
|
||||
return ISC_R_NOMEMORY;
|
||||
}
|
||||
|
||||
dhcid->length = region.length;
|
||||
dhcid->mctx = mctx;
|
||||
return ISC_R_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue