summaryrefslogtreecommitdiff
path: root/usr.bin/dig/lib/dns/rdata/generic/eui64_109.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/generic/eui64_109.c')
-rw-r--r--usr.bin/dig/lib/dns/rdata/generic/eui64_109.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/generic/eui64_109.c b/usr.bin/dig/lib/dns/rdata/generic/eui64_109.c
index 00578994770..a8424118e99 100644
--- a/usr.bin/dig/lib/dns/rdata/generic/eui64_109.c
+++ b/usr.bin/dig/lib/dns/rdata/generic/eui64_109.c
@@ -52,7 +52,7 @@ fromwire_eui64(ARGS_FROMWIRE) {
if (sregion.length != 8)
return (DNS_R_FORMERR);
isc_buffer_forward(source, sregion.length);
- return (mem_tobuffer(target, sregion.base, sregion.length));
+ return (isc_mem_tobuffer(target, sregion.base, sregion.length));
}
static inline isc_result_t
@@ -63,7 +63,7 @@ towire_eui64(ARGS_TOWIRE) {
UNUSED(cctx);
- return (mem_tobuffer(target, rdata->data, rdata->length));
+ return (isc_mem_tobuffer(target, rdata->data, rdata->length));
}
#endif /* RDATA_GENERIC_EUI64_109_C */