Hi

On Tue, Sep 18, 2001 at 06:28:08PM +0200, Matthias Wimmer wrote:
> Hi!
> 
> I just noticed that the php function gethostbyaddr is not able to lookup
> IPv6 mapped IPv4 or native IPv6 addresses.
> 
> Because I get such addresses from the apache 1.3.19 when it is patched
> with the KAME IPv6 patch (that's the normal way to IPv6 enable apache
> 1.3) I noticed the problem.
> 
> Attached is a patch that enables php to lookup such addresses too.

Committed, I had to change it a bit though. It looks like your inet_pton
will also accept IPv4 when called with AF_INET6, this is not the standard.
Please try the latest from CVS or the next snapshot.

Glad to see there are others interested in PHP and IPv6 (:

Stig

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to