Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domains blocked is incorrect after adding IPv6 support #8

Closed
jacobsalmela opened this issue Jan 10, 2016 · 2 comments
Closed

Domains blocked is incorrect after adding IPv6 support #8

jacobsalmela opened this issue Jan 10, 2016 · 2 comments
Labels

Comments

@jacobsalmela
Copy link
Contributor

Since the "amount of domains blocked" is read from /etc/pihole/gravity.list, the user may see twice as many domains as there really are since there are two lines for each domain (IPv4 and IPv6).

192.168.1.100 zz.zeroredirect1.com
2601:442:abcd:125:d833:f13e:6de6:4fa0 zz.zeroredirect1.com

It would probably be safer to just count the lines in /etc/pihole/pihole.3.eventHorizon.txt

@AzureMarker
Copy link
Contributor

Is this just a one line fix?

@jacobsalmela
Copy link
Contributor Author

It should be. We just need to change the path in the index.php code. I'll be testing this out soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants