Peter Pentchev wrote:
> > This is why the inte_aton() call is still necessary.
> [snip]
> > Please call inet_aton(), and then _only_ if that fails, call the
> > gethostbyname().
> 
> How about inet_pton() and getnameinfo()?

You know, I first thought of this, but then I backed off it.

The problem is that the addres is passed in as a 32 bit int, not
as the address of a sockaddr_in.  I think it would take a lot of
work to make the jail code IPv6-safe.  You'd have to talk to Poul
for details, but it's pretty clear that the "splitting" of the
virtual address aliases per jail on the interface(s) in question
is very IPv4 specific, right now.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to