Invalid IPv6 ip addresses in remote_ip field of order object
When retrieving an IP address using the remote_ip field of an order object we obtain invalid IPv6 addresses. From my observations it seems like every ipv6 address gets cut off at 15 chars, the max length of a ipv4 address. When a customer places the order using ipv4 everything works as expected, the field will contain a XXX.XXX.XXX.XXX ip address. When using ipv6 however the field contains data like XXXX:XXX:XXXX:X or XXXX:XXXX:XXXX: instead of the complete XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX address.
Am I using the wrong field to obtain a IP or is the a bug on lightspeeds end?