summaryrefslogtreecommitdiff
path: root/usr.bin/dig/lib/dns/rdata/generic/eui48_108.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/generic/eui48_108.c')
-rw-r--r--usr.bin/dig/lib/dns/rdata/generic/eui48_108.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/generic/eui48_108.c b/usr.bin/dig/lib/dns/rdata/generic/eui48_108.c
index 1f3f8f490a6..0db08faa3b7 100644
--- a/usr.bin/dig/lib/dns/rdata/generic/eui48_108.c
+++ b/usr.bin/dig/lib/dns/rdata/generic/eui48_108.c
@@ -49,7 +49,7 @@ fromwire_eui48(ARGS_FROMWIRE) {
if (sregion.length != 6)
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
@@ -60,7 +60,7 @@ towire_eui48(ARGS_TOWIRE) {
UNUSED(cctx);
- return (mem_tobuffer(target, rdata->data, rdata->length));
+ return (isc_mem_tobuffer(target, rdata->data, rdata->length));
}
#endif /* RDATA_GENERIC_EUI48_108_C */