Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

How to make Piwik treat IPv4-in-IPv6 notation as IPv4 addresses?

$
0
0
This is very annoying to me. Piwik is treating IPv4-in-IPv6 notated IPv4 addresses as IPv6 addresses. This causes that some functionality of Piwik is leaking. For example the usermap/location.

Is there a chance to make Piwik treat IPv4-in-IPv6 notation as IPv4 addresses? Some kind of hidden config option?

It not a "vodoo" patch. It's ony something like an RegEx and Piwik is working proper again:
s/^::ffff:([0-9\.]+)$/$1/

Viewing all articles
Browse latest Browse all 13117

Trending Articles