2
0
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:
Andreas Gustafsson
1999-10-09 01:31:29 +00:00
parent 6c327669ba
commit 91c49d591c
2 changed files with 2 additions and 2 deletions

View File

@@ -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