1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Remove /* from IPv6 as well as IPv4

Fixes Discourse issue: https://discourse.pi-hole.net/t/ipv6-aaaa-dns-issue/3830
This commit is contained in:
Mcat12 2017-06-26 09:51:21 -04:00 committed by GitHub
parent b477b7f777
commit 1e31fa89aa

View File

@ -43,9 +43,9 @@ else
exit 1
fi
# Remove the /* from the end of the IPv4addr.
# Remove the /* from the end of the IP addresses
IPV4_ADDRESS=${IPV4_ADDRESS%/*}
IPV6_ADDRESS=${IPV6_ADDRESS}
IPV6_ADDRESS=${IPV6_ADDRESS%/*}
# Variables for various stages of downloading and formatting the list
basename=pihole