Skip to main content
Topic: IPv6 log_online (Read 1434 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

IPv6 log_online

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?
Bugs creator.
Features destroyer.
Template killer.

Re: IPv6 log_online

Reply #1

1.1 since it is a schema change

Re: IPv6 log_online

Reply #2

Oh I already tracked it almost a year ago... I forgot.. :-[ :-[

https://github.com/elkarte/Elkarte/issues/1479
Bugs creator.
Features destroyer.
Template killer.