Thank you for your module, I tried it on my local server but run into troubles. My server returns ip address like "::1" (MAMP PRO on Mac OS X) but it's more general problem, think about someone who uses IPv6? Function ip2long() returns nothing and your module causes error (because IP address column cannot be empty). I think fix is simple, just save ip address as string. Could you look into this? Thanks in advance.

Comments

parisek created an issue. See original summary.

wuinfo - bill wu’s picture

IPv6 was not in the consideration when developing this module. Thanks for the report. I will address this issue soon I got some time.

wuinfo - bill wu’s picture

Here is the patch. Before applying the patch, please, disable and uninstall the module.

parisek’s picture

Patch works great :)

  • wuinfo committed 05d15dc on 7.x-1.x
    Issue #2623886 by wuinfo: Is there any reason to save IP address as...
wuinfo - bill wu’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.