Re: [EXIM] Strange multiple local interface?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Daniel Ryde
Dátum:  
Címzett: Philip Hazel
CC: Exim Users
Tárgy: Re: [EXIM] Strange multiple local interface?
On Thu, 5 Feb 1998, Philip Hazel wrote:

> Exim calls the SIOCGIFCONF ioctl to find the local interfaces. This
> seems to be one of those things that varies between Unices. There is
> some contorted code in there to try to get this right. Perhaps Linux is
> being different (again)... The code is in the function
> host_find_running_interfaces() in the host.c module.


Umm, you define:

struct ifreq ifreq, *ifr;

And then later you start using the pointer ifr uninitialized?

    mac_max(ifr->ifr_addr.sa_len, sizeof(ifr->ifr_addr)) +


Am I wrong?


/Ryde


--
*** Exim information can be found at http://www.exim.org/ ***