[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Openldap 2.0.1 release on FreeBSD 4.1 (server socket bind problem)



I don't see how this relates to Fabrice's problem, but 

On Wed, Sep 06, 2000 at 01:32:49PM +0200, Jonas Bulow wrote:
> Hi!
> 
> By changing line 912 in server/slapd/daemon.c to
> 
>  peeraddr = inet_ntoa( *((struct in_addr *)
> &from.sa_in6_addr.sin6_addr.__u6_addr.__u6_addr32[3]) );

so you're saying that

from.sa_in6_addr.sin6_addr.s6_addr32[3]

isn't defined?

I checked with RFC 2553 now, and it looks like it should be safe to use

from.sa_in6_addr.sin6_addr.s6_addr[12]

does that work for you?

Stig

-- 
Stig Venås                      Tel:    +47 73 55 79 45
NTNU				Fax:    +47 73 55 79 01
ITEA/Nett, Prof. Brochs g. 6
N-7491 Trondheim, Norway	E-mail: venaas@itea.ntnu.no