[Date Prev][Date Next]
Re: build problem - INET6_ADDRSTRLEN / INET_ADDRSTRLEN undeclared (ITS#770)
On Sun, Sep 24, 2000 at 03:56:53PM -0700, Kurt D. Zeilenga wrote:
> I suggest we check for getaddrinfo() and use it found (for ipv4 or ipv6),
> but require INET6_ADDRSTRLEN before enabling ipv6.
Yes, that's better I think, but...
in daemon.c and os-ip.c we need INET_ADDRSTRLEN and inet_ntop. I think
everyone with getaddrinfo has inet_ntop (I could be wrong though), but
according to the reports INET_ADDRSTRLEN is not defined. So we should
then either define it ourselves, or simply write 16 there.
> >If you could put in the necessary stuff, I'll do some tests afterwards.
> No problem...