[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 01996) Re: problem with pluto usagi version whenusing IPv6 addresses
YOSHIFUJI Hideaki / 吉藤英明 wrote:
> In article <3DE49A7E.2C142754@xxxxxxxx> (at Wed, 27 Nov 2002 11:12:14 +0100), Abdelkader Lahmadi <Abdelkader.Lahmadi@xxxxxxxx> says:
>
> > i'm fixing the problem, there is a bug in the code of pluto. when seraching for local
> > interface pluto, find only ipv4
> > interfaces and no ipv6. so when trying to match the connection end with an interface it
> > can't find a matching one
> > beacause all local addresses that find are ipv4. So, in the code of pluto in the file
> > server.c i change this
> :
>
> Assume that your respondents will be reading mail on
> 80-character-wide text displays and set your line wrap
> accordingly, to something less than 80.
> (Quoted from <http://www.tuxedo.org/~esr/faqs/smart-questions.html>)
>
> > #ifndef _USAGI
> > static struct raw_iface *
> > find_raw_ifaces6(void)
> > {
> :
> > by
> >
> > #ifdef _USAGI
> > static struct raw_iface *
> > find_raw_ifaces6(void)
> > {
>
> USAGI's getifaddrs() support both IPv6 and IPv4, so
> original code should work; so this is not appropriate
> fix.
ok i can see the problem, i thing i haven't installed the USAGI getifaddrs
>
>
>
> What version of glibc do you use?
> glibc-2.2.93-5
>
>
> Is plute linked with libinet6?
>
yes