Re: [Exim] Exim with IPv6

Góra strony
Delete this message
Reply to this message
Autor: Kevin Sindhu
Data:  
Dla: exim-users
CC: Phil.Pennock
Temat: Re: [Exim] Exim with IPv6
On Sun, Jul 08, 2001 at 10:53:30AM -0700, Kevin Sindhu penned:
> On Sun, Jul 08, 2001 at 07:48:58AM +0200, Phil Pennock penned:
> I built Exim with IPv6 Support and everytime I start it, it dies with
> the error:
>
> ---Error---
> 2001-07-08 10:45:46 Unable to get IP address for lo0 interface: 22
> Invalid argument
> -----------


Looking around, seems like this error is generated from os.c on line
625:

#ifndef SIOCGIFCONF_GIVES_ADDR
if (ioctl(vs, V_GIFADDR, (char *)&ifreq) < 0)
log_write(0, LOG_PANIC_DIE, "Unable to get IP address for %s interface: "
"%d %s", ifreq.V_ifr_name, errno, strerror(errno));
#else
ifreq = *ifr;
#endif

I wonder if this needs to be re-written as lo0 usually isin't configured
for Ipv6. Maybe we can have a better workaround for unconfigured
addresses such as lo0's:

inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
inet6 ::1 prefixlen 128

*Shrug*

>
> ifconfig lo0 shows:
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32972
>       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
>     inet6 ::1 prefixlen 128
>       inet 127.0.0.1 netmask 0xff000000

>

---end quoted text---

--
The wages of sin are high but you get your money's worth.