ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: emanuele on January 11, 2015, 12:32:38 pm

Title: IPv6 log_online
Post by: emanuele on January 11, 2015, 12:32:38 pm
There is a "small" problem with the log_online table and IPv6: the table uses an int(10) and the INET_ATON function to store the IP, but, "of course" the function (and the field size) works for IPv4, not IPv6.

Of course the problem is not "terrible", it just means the IP shown is 0.0.0.0 in the who is online page, though it's still not nice.

The fix requires 1st to change the column to a varchar and then fix all the code around not to use INET_ATON, but just grab the address.

The question is: should be fixed in 1.0.3 or can we delay it to 1.1?
Title: Re: IPv6 log_online
Post by: Joshua Dickerson on January 12, 2015, 09:21:44 pm
1.1 since it is a schema change
Title: Re: IPv6 log_online
Post by: emanuele on February 03, 2015, 04:27:14 pm
Oh I already tracked it almost a year ago... I forgot.. :-[ :-[

https://github.com/elkarte/Elkarte/issues/1479