[radvd-devel-l] [PATCH] RADVD:
Ville Nuorvala
vnuorval at tcs.hut.fi
Wed Jan 18 10:30:33 EST 2006
YOSHIFUJI Hideaki / 吉藤英明 wrote:
> Hello.
Hello Yoshifuji-san!
> radvd-0.9.1 does not initialize AdvDefaultLifetime (etc.) appropriately.
> This bug was introduced by the following patchset.
>
> |Date: 2005/12/30 16:12:23
> |Author: psavola
> :
> |A few more cleanups. Also clean up the initialization of MinRtrAdvInterval,
> |AdvDefaultLifetime, and HomeAgentLifetime.
> |
> |Members:
> | interface.c:1.12->1.13
> | process.c:1.13->1.14
> | radvd.h:1.16->1.17
> | radvdump.c:1.12->1.13
>
> The following patch solve the issue.
There is a small bug in your patch. The on-the-wire Router Lifetime and
Home Agent Lifetime fields are defined as 16-bit unsigned integers,
so if you want to make the values signed you have to use 32-bit integers
internally.
Regards,
Ville
--
Ville Nuorvala
Research Assistant,
Laboratory for Theoretical Computer Science,
Helsinki University of Technology
email: vnuorval at tcs.hut.fi, phone: +358 (0)9 451 5257
More information about the radvd-devel-l
mailing list