{"action":"created","issue":{"url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/3504","repository_url":"https://api.github.com/repos/SimpleMachines/SMF2.1","labels_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/3504/labels{/name}","comments_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/3504/comments","events_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/3504/events","html_url":"https://github.com/SimpleMachines/SMF2.1/issues/3504","id":162919051,"number":3504,"title":"The function inet_dtop($bin) don't work allways correct..","user":{"login":"PortaMx","id":2270223,"avatar_url":"https://avatars.githubusercontent.com/u/2270223?v=3","gravatar_id":"","url":"https://api.github.com/users/PortaMx","html_url":"https://github.com/PortaMx","followers_url":"https://api.github.com/users/PortaMx/followers","following_url":"https://api.github.com/users/PortaMx/following{/other_user}","gists_url":"https://api.github.com/users/PortaMx/gists{/gist_id}","starred_url":"https://api.github.com/users/PortaMx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PortaMx/subscriptions","organizations_url":"https://api.github.com/users/PortaMx/orgs","repos_url":"https://api.github.com/users/PortaMx/repos","events_url":"https://api.github.com/users/PortaMx/events{/privacy}","received_events_url":"https://api.github.com/users/PortaMx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-06-29T13:00:22Z","updated_at":"2016-07-03T11:30:03Z","closed_at":null,"body":"I found a lot of ipv6 adresses the have a  . (dot) or : (doublepoint) as binary.\r\nSo the test of '.' or ':' failed.\r\n\r\nI change that to:\r\n`function inet_dtop($bin)\r\n{\r\n\tif(empty($bin))\r\n\t\treturn '';\r\n\r\n\t$ip_address = @inet_ntop($bin);\r\n\tif($ip_address === false)\r\n\t\treturn '';\r\n\r\n\treturn $ip_address;\r\n}`\r\n\r\nNow all works correct .."},"comment":{"url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/comments/230148635","html_url":"https://github.com/SimpleMachines/SMF2.1/issues/3504#issuecomment-230148635","issue_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/3504","id":230148635,"user":{"login":"PortaMx","id":2270223,"avatar_url":"https://avatars.githubusercontent.com/u/2270223?v=3","gravatar_id":"","url":"https://api.github.com/users/PortaMx","html_url":"https://github.com/PortaMx","followers_url":"https://api.github.com/users/PortaMx/followers","following_url":"https://api.github.com/users/PortaMx/following{/other_user}","gists_url":"https://api.github.com/users/PortaMx/gists{/gist_id}","starred_url":"https://api.github.com/users/PortaMx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PortaMx/subscriptions","organizations_url":"https://api.github.com/users/PortaMx/orgs","repos_url":"https://api.github.com/users/PortaMx/repos","events_url":"https://api.github.com/users/PortaMx/events{/privacy}","received_events_url":"https://api.github.com/users/PortaMx/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T11:30:03Z","updated_at":"2016-07-03T11:30:03Z","body":"Yeah .. Yesterday I have installed a Postgres DB, so I can also test all with postgres,\r\nI added the postgres check and it works fine .."}}
{"actor":{"display_login":"PortaMx"}}