Skip to content


AnonymizeIP is not 64bit clean #1735

anonymous-piwik-user opened this Issue · 3 comments

2 participants


I had to realize that the AnonymizeIP plugin is not 64bit clean. It sets either or 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.


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


(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.