Displaying 1 result from an estimated 1 matches for "if_ipaddr".
Did you mean:
if_addr
1998 Mar 29
1
Anyone using SCO 3.2v4.2 with Samba 1.9.18p3??
...SIOCGIFCONF: %s\n", strerror(errno)));
} else {
ifr = ifc.ifc_req;
/* Loop through interfaces, looking for given IP address */
for (i = ifc.ifc_len / sizeof(struct ifreq); --i >= 0; ifr++) {
#ifdef BSDI
if (ioctl(sock, SIOCGIFADDR, ifr) < 0) break;
#endif
if (if_ipaddr->s_addr ==
(*(struct sockaddr_in *) &ifr->ifr_addr).sin_addr.s_addr) {
found = True;
break;
}
}
My guess is that it isn't being passed the correct information... There
is an SCO5 section in the source file too, but this is not an SCO5 platform.
If you are usi...