request.client is determined by parsing and chokes on ipv6. I fixed it
in trunk so that it includes the entire ipv6 address.
pleas give it a try.

Massimo

On Jan 4, 6:08 am, "Phyo Arkar" <[email protected]> wrote:
> Thanks all .
>
> its also because of ipv6
>
> request.client returns ipv6 ffff only
> Worked on
> request.env["remote_addr"]
>
> Thanks.
>
> On Sun, Jan 4, 2009 at 9:01 AM, Fran <[email protected]> wrote:
>
> > Was because client was running IPv6:
> > ::ffff:127.0.0.1
>
> > This worked:
> > request.env["remote_addr"]
>
> > F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to