[radvd-devel-l] Re: [RADVD PATCH] Accept value >= 0x80000000 on
32-bit archs
Pekka Savola
pekkas at netcore.fi
Thu Aug 24 07:41:56 EDT 2006
On Tue, 22 Aug 2006, YOSHIFUJI Hideaki / µÈÆ£±ÑÌÀ wrote:
> We could not set value >= 0x80000000 (e.g. to AdvRetransTimer)
> on 32-bit architecture machines.
>
> Use strtoul() instead of atoi() (or strtol()).
>
> Bug was reported by Mitsuru Chinen <CHINEN at jp.ibm.com>.
>
> Signed-off-by: YOSHIFUJI Hideaki <yoshfuji at linux-ipv6.org>
Applied, thanks!
--
Pekka Savola "You each name yourselves king, yet the
Netcore Oy kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
More information about the radvd-devel-l
mailing list