mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
use ISC_PLATFORM_HAVESALEN, not ISC_NET_HAVESALEN
This commit is contained in:
@@ -237,7 +237,7 @@ internal_next(isc_interfaceiter_t *iter) {
|
||||
|
||||
ifrp = (struct ifreq *)((char *) iter->ifc.ifc_req + iter->pos);
|
||||
|
||||
#ifdef ISC_NET_HAVESALEN
|
||||
#ifdef ISC_PLATFORM_HAVESALEN
|
||||
if (ifrp->ifr_addr.sa_len > sizeof(struct sockaddr))
|
||||
iter->pos += sizeof(ifrp->ifr_name) + ifrp->ifr_addr.sa_len;
|
||||
else
|
||||
|
Reference in New Issue
Block a user