You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm testing geoip-lite library with IPv6 addresses.
I found weird results about utils.aton6 functions.
Here's 2 addresses which are exactly same,
2607:f0d0:1002:51::4
2607:f0d0:1002:0051:0000:0000:0000:0004
And results of utils.aton6 function
[ 638054608, 268566609, 4, 4 ]
[ 638054608, 268566609, 0, 4 ]
Even though they are different, I know that that doesn't affect lookup function because utils.cmp6() only cares about IPv6 array's first and second elements.
Is it bug? Or do I miss anything?
The text was updated successfully, but these errors were encountered:
Hello, I'm testing geoip-lite library with IPv6 addresses.
I found weird results about utils.aton6 functions.
Here's 2 addresses which are exactly same,
And results of utils.aton6 function
Even though they are different, I know that that doesn't affect lookup function because utils.cmp6() only cares about IPv6 array's first and second elements.
Is it bug? Or do I miss anything?
The text was updated successfully, but these errors were encountered: