Author: Rick Byers Date: To: Sheldon Hearn CC: exim-users Subject: Re: [Exim] bug in os_common_find_running_interfaces?
On Mon, 19 Aug 2002, Sheldon Hearn wrote:
> > I don't think that code has changed between Exim 3 and 4, but I might
> > have forgotten something. The message is a result of
> >
> > if (ioctl(vs, V_GIFFLAGS, (char *)&ifreq) < 0)
> >
> > which is a call to get the flags for a TCP/IP interface. Exim is trying
> > to get a list of all local interfaces. This something which different OS
> > seem do differently, and as I don't use NetBSD, I can't really help with
> > debugging, I'm afraid.
>
> FWIW, I'd be quite surprised if NetBSD didn't offer a getifaddrs(3), from
> BSD/OS.
Yes it does, but the ioctl works also (which I'm assuming is more
portable).