[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 00505) Re: Hop limit
- To: usagi-users@xxxxxxxxxxxxxx
- Subject: (usagi-users 00505) Re: Hop limit
- From: Gilles Diribarne <gilles.diribarne@xxxxxxxxxxxxx>
- Date: Wed, 09 May 2001 15:37:51 +0200
- Organization: Alcatel CRC
- References: <2df8f282ef.282ef2df8f@teleline.es>
- Reply-to: usagi-users@xxxxxxxxxxxxxx
Hi,
Maybe try to remove the cast (char *).
The expected type is void *. And, cast it to (void *) as shown below.
ret = setsockopt (sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS,
(void *) &ttl, sizeof (int));
This piece of code works on zebra.
So, if this code doesn't work, maybe your configuration is wrong
elsewhere!
Regards,
Gilles
--
Gilles Diribarne
Alcatel Research & Innovation
Gilles.Diribarne@xxxxxxxxxx
Tel: +33 (0)1 69 63 46 45 Fax: +33 (0)1 69 63 11 69