Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

AnonymizeIP is not 64bit clean #1735

Closed
anonymous-piwik-user opened this Issue · 3 comments

2 participants

@anonymous-piwik-user

I had to realize that the AnonymizeIP plugin is not 64bit clean. It sets either 255.255.255.255 or 0.0.0.0 as IP address, depending on the setting of ip_address_mask_length.

The best workaround I found was masking the result of the anonymization with 0xffffffff, as you can find in the attached patch.

@robocoder

(In [3186]) fixes #1735 - thanks arnotron

@robocoder

(In [3188]) refs #1735 - oops; my mistake

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 1.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.