diff --git a/lib/isc/unix/ifiter_ioctl.c b/lib/isc/unix/ifiter_ioctl.c index f4611c9d3a..af195e3100 100644 --- a/lib/isc/unix/ifiter_ioctl.c +++ b/lib/isc/unix/ifiter_ioctl.c @@ -96,7 +96,7 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) * retry. */ if (iter->ifc.ifc_len + 2 * sizeof(struct ifreq) - < iter->bufsiz) + < iter->bufsize) break; } if (errno != EINVAL) {