[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 01993) Re: problem with pluto usagi version when using IPv6 addresses
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.
What version of glibc do you use?
Is plute linked with libinet6?
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA