Remove bsdi support

This commit is contained in:
chase
2018-05-12 16:18:11 -07:00
committed by Jon Trulson
parent 3ccf3a8b86
commit 1a50e1e5a9
5 changed files with 3 additions and 168 deletions

View File

@@ -594,7 +594,7 @@ RegisterHostname (char *name)
if (ioctl (socketFD, (int) SIOCGIFCONF, (char *) &ifc) < 0)
return 0;
for (ifr = ifc.ifc_req
#if defined (__bsdi__) || defined(__NetBSD__)
#if defined(__NetBSD__)
; (char *)ifr < ifc.ifc_buf + ifc.ifc_len;
ifr = (struct ifreq *)((char *)ifr + sizeof (struct ifreq) +
(ifr->ifr_addr.sa_len > sizeof (ifr->ifr_addr) ?