{"action":"opened","issue":{"url":"https://api.github.com/repos/jacobsalmela/pi-hole/issues/51","labels_url":"https://api.github.com/repos/jacobsalmela/pi-hole/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/jacobsalmela/pi-hole/issues/51/comments","events_url":"https://api.github.com/repos/jacobsalmela/pi-hole/issues/51/events","html_url":"https://github.com/jacobsalmela/pi-hole/issues/51","id":109894135,"number":51,"title":"piholeIP not properly used when IPV4 and IPV6 are available","user":{"login":"mospaeda","id":11562410,"avatar_url":"https://avatars.githubusercontent.com/u/11562410?v=3","gravatar_id":"","url":"https://api.github.com/users/mospaeda","html_url":"https://github.com/mospaeda","followers_url":"https://api.github.com/users/mospaeda/followers","following_url":"https://api.github.com/users/mospaeda/following{/other_user}","gists_url":"https://api.github.com/users/mospaeda/gists{/gist_id}","starred_url":"https://api.github.com/users/mospaeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mospaeda/subscriptions","organizations_url":"https://api.github.com/users/mospaeda/orgs","repos_url":"https://api.github.com/users/mospaeda/repos","events_url":"https://api.github.com/users/mospaeda/events{/privacy}","received_events_url":"https://api.github.com/users/mospaeda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-05T21:54:42Z","updated_at":"2015-10-05T21:54:42Z","closed_at":null,"body":"my conf is RPI2 with interfaces in IPV4 and IPV6 available\r\nthe detection code for piholeIP parameter is not working and result in a blank that is added in the accretiondisc.txt instead of the real IP (resulting in a list of domains only with no sink IP)\r\n\r\nin my case result of command : hostname -I  is \r\n192.168.1.55 2a01:e35:xxx:xxx:xxx:xxx:xxx:xxx 2a01:e35:yyy:yyy:yyy:yyy:yyy:yyy\r\nhostname -I |xargs is same output\r\n\r\nShould probably select only the 1st IP for copy in accretiondisc.txt\r\n\r\n\r\n\r\n\r\n"}}